Salome HOME
Issue #1305: Make different gray color for selectable and non-selectable items
[modules/shaper.git] / src / FeaturesPlugin / 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     FeaturesPlugin.h
8     FeaturesPlugin_Plugin.h
9     FeaturesPlugin_Extrusion.h
10     FeaturesPlugin_Revolution.h
11     FeaturesPlugin_Rotation.h
12     FeaturesPlugin_Translation.h
13     FeaturesPlugin_Boolean.h
14     FeaturesPlugin_Group.h
15     FeaturesPlugin_Intersection.h
16     FeaturesPlugin_Partition.h
17     FeaturesPlugin_Pipe.h
18     FeaturesPlugin_Placement.h
19     FeaturesPlugin_CompositeBoolean.h
20     FeaturesPlugin_CompositeSketch.h
21     FeaturesPlugin_ExtrusionBoolean.h
22     FeaturesPlugin_ExtrusionSketch.h
23     FeaturesPlugin_ExtrusionCut.h
24     FeaturesPlugin_ExtrusionFuse.h
25     FeaturesPlugin_RevolutionSketch.h
26     FeaturesPlugin_RevolutionBoolean.h
27     FeaturesPlugin_RevolutionCut.h
28     FeaturesPlugin_RevolutionFuse.h
29     FeaturesPlugin_ValidatorTransform.h
30     FeaturesPlugin_Validators.h
31 )
32
33 SET(PROJECT_SOURCES
34     FeaturesPlugin_Plugin.cpp
35     FeaturesPlugin_Extrusion.cpp
36     FeaturesPlugin_Revolution.cpp
37     FeaturesPlugin_Rotation.cpp
38     FeaturesPlugin_Translation.cpp
39     FeaturesPlugin_Boolean.cpp
40     FeaturesPlugin_Group.cpp
41     FeaturesPlugin_Intersection.cpp
42     FeaturesPlugin_Partition.cpp
43     FeaturesPlugin_Pipe.cpp
44     FeaturesPlugin_Placement.cpp
45     FeaturesPlugin_CompositeBoolean.cpp
46     FeaturesPlugin_CompositeSketch.cpp
47     FeaturesPlugin_ExtrusionSketch.cpp
48     FeaturesPlugin_ExtrusionBoolean.cpp
49     FeaturesPlugin_ExtrusionCut.cpp
50     FeaturesPlugin_ExtrusionFuse.cpp
51     FeaturesPlugin_RevolutionSketch.cpp
52     FeaturesPlugin_RevolutionBoolean.cpp
53     FeaturesPlugin_RevolutionCut.cpp
54     FeaturesPlugin_RevolutionFuse.cpp
55     FeaturesPlugin_ValidatorTransform.cpp
56     FeaturesPlugin_Validators.cpp
57 )
58
59 SET(XML_RESOURCES
60   plugin-Features.xml
61   extrusion_widget.xml
62   extrusionsketch_widget.xml
63   extrusioncut_widget.xml
64   extrusionfuse_widget.xml
65   revolution_widget.xml
66   revolutionsketch_widget.xml
67   revolutioncut_widget.xml
68   revolutionfuse_widget.xml
69   rotation_widget.xml
70   translation_widget.xml
71   boolean_widget.xml
72   group_widget.xml
73   partition_widget.xml
74   placement_widget.xml
75   intersection_widget.xml
76   pipe_widget.xml
77 )
78
79 INCLUDE_DIRECTORIES(
80   ../ModelAPI
81   ../GeomAPI
82   ../GeomAlgoAPI
83   ../Events
84 )
85
86 SET(PROJECT_LIBRARIES
87     Events
88     ModelAPI
89     GeomAPI
90     GeomAlgoAPI
91 )
92
93 ADD_DEFINITIONS(-DFEATURESPLUGIN_EXPORTS)
94 ADD_LIBRARY(FeaturesPlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES})
95 TARGET_LINK_LIBRARIES(FeaturesPlugin ${PROJECT_LIBRARIES})
96
97 INSTALL(TARGETS FeaturesPlugin DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})
98 INSTALL(FILES ${XML_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
99
100 ADD_UNIT_TESTS(TestExtrusion.py
101                TestExtrusionSketch.py
102                TestExtrusionCut.py
103                TestExtrusionFuse.py
104                TestRevolution.py
105                TestRevolutionSketch.py
106                TestRevolutionCut.py
107                TestRevolutionFuse.py
108                TestCompositeFeaturesOnCompSolids.py
109                TestPartition.py
110                TestPlacement.py
111                TestTranslation.py
112                TestRotation.py
113                TestBoolean.py
114                TestBooleanCompSolids.py
115                TestBooleanSmash.py
116                TestMultiBoolean.py
117                TestSerialBoolean.py
118                TestGroup.py
119                TestIntersection.py)