]> SALOME platform Git repositories - modules/shaper.git/blob - src/ConstructionPlugin/CMakeLists.txt
Salome HOME
Speed up the redraw of sketch with constraints moved by the point of the line
[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 SET(XML_RESOURCES
16   plugin-Construction.xml
17   point_widget.xml
18 )
19
20 SET(PROJECT_LIBRARIES
21     ModelAPI 
22     GeomAPI 
23     GeomAlgoAPI
24     ${CAS_KERNEL}
25     ${CAS_SHAPE}
26 )
27
28 ADD_DEFINITIONS(-DCONSTRUCTIONPLUGIN_EXPORTS)
29 ADD_LIBRARY(ConstructionPlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES})
30 TARGET_LINK_LIBRARIES(ConstructionPlugin ${PROJECT_LIBRARIES})
31
32 INSTALL(TARGETS ConstructionPlugin DESTINATION plugins)
33 INSTALL(FILES ${XML_RESOURCES} DESTINATION plugins)
34
35 INCLUDE_DIRECTORIES(
36   ../ModelAPI
37   ../GeomAPI
38   ../GeomAlgoAPI
39 )
40
41
42 ADD_UNIT_TESTS(TestPointName.py
43               )