]> SALOME platform Git repositories - modules/shaper.git/blob - src/SketchShapePlugin/CMakeLists.txt
Salome HOME
Construction of vertices/edges/faces on the base of sketch: sketch attribute
[modules/shaper.git] / src / SketchShapePlugin / CMakeLists.txt
1 ## Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 INCLUDE(Common)
4 INCLUDE(UnitTest)
5
6 SET(PROJECT_HEADERS
7     SketchShapePlugin.h
8     SketchShapePlugin_Feature.h
9     SketchShapePlugin_PageGroupBox.h
10     SketchShapePlugin_Plugin.h
11     SketchShapePlugin_Validators.h
12     SketchShapePlugin_Tools.h
13     SketchShapePlugin_WidgetCreator.h
14 )
15
16 SET(PROJECT_SOURCES
17     SketchShapePlugin_Feature.cpp
18     SketchShapePlugin_PageGroupBox.cpp
19     SketchShapePlugin_Plugin.cpp
20     SketchShapePlugin_Validators.cpp
21     SketchShapePlugin_Tools.cpp
22     SketchShapePlugin_WidgetCreator.cpp
23 )
24
25 SET(PROJECT_LIBRARIES
26     Config
27     GeomAPI
28     GeomAlgoAPI
29     ModelAPI
30     GeomDataAPI
31     ModuleBase
32     ${QT_LIBRARIES}
33 )
34
35 SET(XML_RESOURCES
36   plugin-SketchShape.xml
37 )
38
39 ADD_DEFINITIONS(-DSKETCHSHAPEPLUGIN_EXPORTS -DWNT)
40 ADD_LIBRARY(SketchShapePlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES})
41 TARGET_LINK_LIBRARIES(SketchShapePlugin ${PROJECT_LIBRARIES})
42
43 INCLUDE_DIRECTORIES(
44   ../Config
45   ../Events
46   ../ModelAPI
47   ../GeomAPI
48   ../GeomAlgoAPI
49   ../GeomDataAPI
50   ../ModuleBase
51   ${SUIT_INCLUDE}
52   ${CAS_INCLUDE_DIRS}
53 )
54
55 INSTALL(TARGETS SketchShapePlugin DESTINATION plugins)
56 INSTALL(FILES ${XML_RESOURCES} DESTINATION plugins)
57
58 ADD_UNIT_TESTS(TestSketchShape.py)