]> SALOME platform Git repositories - modules/shaper.git/blob - src/SketchPlugin/CMakeLists.txt
Salome HOME
347fabe8818e0f69d364c882db8d78958406e317
[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 )
10
11 SET(PROJECT_SOURCES
12     SketchPlugin_Feature.cpp
13     SketchPlugin_Plugin.cpp
14     SketchPlugin_Sketch.cpp
15     SketchPlugin_Line.cpp
16 )
17
18 SET(PROJECT_LIBRARIES
19     GeomAPI
20     GeomAlgoAPI
21 )
22
23 ADD_DEFINITIONS(-DSKETCHPLUGIN_EXPORTS ${BOOST_DEFINITIONS})
24 ADD_LIBRARY(SketchPlugin SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
25 TARGET_LINK_LIBRARIES(SketchPlugin ${PROJECT_LIBRARIES} ModelAPI GeomAPI GeomAlgoAPI)
26
27 INCLUDE_DIRECTORIES(
28   ../ModelAPI
29   ../GeomAPI
30   ../GeomAlgoAPI
31   ../GeomDataAPI
32 )
33
34 SET(XML_RESOURCES
35   plugin-Sketch.xml
36 )
37
38 INSTALL(TARGETS SketchPlugin DESTINATION plugins)
39 INSTALL(FILES ${XML_RESOURCES} DESTINATION plugins)