Salome HOME
Very first implementation of shape-result management
[modules/shaper.git] / src / ConstructionPlugin / CMakeLists.txt
1 INCLUDE(Common)
2
3 SET(PROJECT_HEADERS
4     ConstructionPlugin.h
5     ConstructionPlugin_Plugin.h
6     ConstructionPlugin_Point.h
7     ConstructionPlugin_Extrusion.h
8 )
9
10 SET(PROJECT_SOURCES
11     ConstructionPlugin_Plugin.cpp
12     ConstructionPlugin_Point.cpp
13     ConstructionPlugin_Extrusion.cpp
14 )
15
16 ADD_DEFINITIONS(-DCONSTRUCTIONPLUGIN_EXPORTS ${BOOST_DEFINITIONS})
17 ADD_LIBRARY(ConstructionPlugin SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
18 TARGET_LINK_LIBRARIES(ConstructionPlugin ${PROJECT_LIBRARIES} ModelAPI GeomAPI GeomAlgoAPI)
19
20 INCLUDE_DIRECTORIES(
21   ../ModelAPI
22   ../GeomAPI
23   ../GeomAlgoAPI
24 )
25
26 SET(XML_RESOURCES
27   plugin-Construction.xml
28   point_widget.xml
29   extrusion_widget.xml
30 )
31
32 INSTALL(TARGETS ConstructionPlugin DESTINATION plugins)
33 INSTALL(FILES ${XML_RESOURCES} DESTINATION plugins)