Salome HOME
ab34919147ff1251a53a238fd62bec0a005e75ec
[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)
19
20 INCLUDE_DIRECTORIES(
21   ../ModelAPI
22 )
23
24 SET(XML_RESOURCES
25   plugin-Construction.xml
26   point_widget.xml
27   extrusion_widget.xml
28 )
29
30 INSTALL(TARGETS ConstructionPlugin DESTINATION plugins)
31 INSTALL(FILES ${XML_RESOURCES} DESTINATION plugins)