Salome HOME
430ffb9abd36f7f9c75fde70ee31944e18039e53
[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 )
8
9 SET(PROJECT_SOURCES
10     ConstructionPlugin_Plugin.cpp
11     ConstructionPlugin_Point.cpp
12 )
13
14 ADD_DEFINITIONS(-DCONSTRUCTIONPLUGIN_EXPORTS ${BOOST_DEFINITIONS})
15 ADD_LIBRARY(ConstructionPlugin SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
16 TARGET_LINK_LIBRARIES(ConstructionPlugin ${PROJECT_LIBRARIES} ModelAPI)
17
18 INCLUDE_DIRECTORIES(
19   ../ModelAPI
20 )
21
22 SET(XML_RESOURCES
23   plugin-Construction.xml
24 )
25
26 INSTALL(TARGETS ConstructionPlugin DESTINATION plugins)
27 INSTALL(FILES ${XML_RESOURCES} DESTINATION plugins)