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