]> SALOME platform Git repositories - modules/shaper.git/blob - src/ConstructionPlugin/CMakeLists.txt
Salome HOME
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git] / src / ConstructionPlugin / CMakeLists.txt
1 INCLUDE(Common)
2 INCLUDE(UnitTest)
3
4 SET(PROJECT_HEADERS
5     ConstructionPlugin.h
6     ConstructionPlugin_Plugin.h
7     ConstructionPlugin_Point.h
8 )
9
10 SET(PROJECT_SOURCES
11     ConstructionPlugin_Plugin.cpp
12     ConstructionPlugin_Point.cpp
13 )
14
15 ADD_DEFINITIONS(-DCONSTRUCTIONPLUGIN_EXPORTS ${BOOST_DEFINITIONS})
16 ADD_LIBRARY(ConstructionPlugin SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
17 TARGET_LINK_LIBRARIES(ConstructionPlugin ${PROJECT_LIBRARIES} ModelAPI GeomAPI GeomAlgoAPI)
18
19 INCLUDE_DIRECTORIES(
20   ../ModelAPI
21   ../GeomAPI
22   ../GeomAlgoAPI
23 )
24
25 SET(XML_RESOURCES
26   plugin-Construction.xml
27   point_widget.xml
28 )
29
30 INSTALL(TARGETS ConstructionPlugin DESTINATION plugins)
31 INSTALL(FILES ${XML_RESOURCES} DESTINATION plugins)
32
33 ADD_UNIT_TESTS(TestPointName.py
34               )