]> SALOME platform Git repositories - modules/shaper.git/blob - src/FeaturesPlugin/CMakeLists.txt
Salome HOME
Speed up the redraw of sketch with constraints moved by the point of the line
[modules/shaper.git] / src / FeaturesPlugin / CMakeLists.txt
1 INCLUDE(Common)
2
3 SET(PROJECT_HEADERS
4     FeaturesPlugin.h
5     FeaturesPlugin_Plugin.h
6     FeaturesPlugin_Extrusion.h
7     FeaturesPlugin_Boolean.h
8     FeaturesPlugin_Group.h
9     FeaturesPlugin_Placement.h
10 )
11
12 SET(PROJECT_SOURCES
13     FeaturesPlugin_Plugin.cpp
14     FeaturesPlugin_Extrusion.cpp
15     FeaturesPlugin_Boolean.cpp
16     FeaturesPlugin_Group.cpp
17     FeaturesPlugin_Placement.cpp
18 )
19
20 SET(XML_RESOURCES
21   plugin-Features.xml
22   extrusion_widget.xml
23   boolean_widget.xml
24   group_widget.xml
25   placement_widget.xml
26 )
27
28 INCLUDE_DIRECTORIES(
29   ../ModelAPI
30   ../GeomAPI
31   ../GeomAlgoAPI
32   ../Events
33 )
34
35 SET(PROJECT_LIBRARIES
36     Events
37     ModelAPI 
38     GeomAPI 
39     GeomAlgoAPI
40 )
41
42 ADD_DEFINITIONS(-DFEATURESPLUGIN_EXPORTS)
43 ADD_LIBRARY(FeaturesPlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES})
44 TARGET_LINK_LIBRARIES(FeaturesPlugin ${PROJECT_LIBRARIES})
45
46 INSTALL(TARGETS FeaturesPlugin DESTINATION plugins)
47 INSTALL(FILES ${XML_RESOURCES} DESTINATION plugins)