]> SALOME platform Git repositories - modules/shaper.git/blob - src/SketchPlugin/CMakeLists.txt
Salome HOME
60fb882c0c186e5f45047274c60be0088e2799d4
[modules/shaper.git] / src / SketchPlugin / CMakeLists.txt
1 INCLUDE(Common)
2
3 SET(PROJECT_HEADERS
4     SketchPlugin.h
5     SketchPlugin_Feature.h
6     SketchPlugin_Plugin.h
7     SketchPlugin_Sketch.h
8     SketchPlugin_Line.h
9     SketchPlugin_Point.h
10     SketchPlugin_Constraint.h
11     SketchPlugin_ConstraintCoincidence.h
12 )
13
14 SET(PROJECT_SOURCES
15     SketchPlugin_Feature.cpp
16     SketchPlugin_Plugin.cpp
17     SketchPlugin_Sketch.cpp
18     SketchPlugin_Line.cpp
19     SketchPlugin_Point.cpp
20     SketchPlugin_ConstraintCoincidence.cpp
21 )
22
23 SET(PROJECT_LIBRARIES
24     GeomAPI
25     GeomAlgoAPI
26     ModelAPI
27 )
28
29 ADD_DEFINITIONS(-DSKETCHPLUGIN_EXPORTS ${BOOST_DEFINITIONS})
30 ADD_LIBRARY(SketchPlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS})
31 TARGET_LINK_LIBRARIES(SketchPlugin ${PROJECT_LIBRARIES})
32
33 INCLUDE_DIRECTORIES(
34   ../ModelAPI
35   ../GeomAPI
36   ../GeomAlgoAPI
37   ../GeomDataAPI
38 )
39
40 SET(XML_RESOURCES
41   plugin-Sketch.xml
42 )
43
44 INSTALL(TARGETS SketchPlugin DESTINATION plugins)
45 INSTALL(FILES ${XML_RESOURCES} DESTINATION plugins)