Salome HOME
Merge branch 'master' of newgeom:newgeom
[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   point_widget.xml
25 )
26
27 INSTALL(TARGETS ConstructionPlugin DESTINATION plugins)
28 INSTALL(FILES ${XML_RESOURCES} DESTINATION plugins)