1 # Copyright (C) 2014-2022 CEA/DEN, EDF R&D
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 2.1 of the License, or (at your option) any later version.
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 # Lesser General Public License for more details.
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with this library; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
26 FeaturesPlugin_Plugin.h
27 FeaturesPlugin_Extrusion.h
28 FeaturesPlugin_Recover.h
29 FeaturesPlugin_Revolution.h
30 FeaturesPlugin_Rotation.h
31 FeaturesPlugin_Translation.h
32 FeaturesPlugin_VersionedBoolean.h
33 FeaturesPlugin_Boolean.h
34 FeaturesPlugin_BooleanCut.h
35 FeaturesPlugin_BooleanFuse.h
36 FeaturesPlugin_BooleanCommon.h
37 FeaturesPlugin_BooleanSmash.h
38 FeaturesPlugin_BooleanFill.h
39 FeaturesPlugin_Intersection.h
40 FeaturesPlugin_Partition.h
42 FeaturesPlugin_Placement.h
43 FeaturesPlugin_CompositeBoolean.h
44 FeaturesPlugin_CompositeSketch.h
45 FeaturesPlugin_ExtrusionBoolean.h
46 FeaturesPlugin_ExtrusionCut.h
47 FeaturesPlugin_ExtrusionFuse.h
48 FeaturesPlugin_RevolutionBoolean.h
49 FeaturesPlugin_RevolutionCut.h
50 FeaturesPlugin_RevolutionFuse.h
51 FeaturesPlugin_Union.h
52 FeaturesPlugin_ValidatorTransform.h
53 FeaturesPlugin_Validators.h
54 FeaturesPlugin_RemoveSubShapes.h
55 FeaturesPlugin_Tools.h
56 FeaturesPlugin_Symmetry.h
57 FeaturesPlugin_Scale.h
58 FeaturesPlugin_MultiTranslation.h
59 FeaturesPlugin_MultiRotation.h
60 FeaturesPlugin_Fillet.h
61 FeaturesPlugin_Fillet1D.h
62 FeaturesPlugin_Measurement.h
63 FeaturesPlugin_FusionFaces.h
64 FeaturesPlugin_RemoveResults.h
65 FeaturesPlugin_Chamfer.h
67 FeaturesPlugin_ImportResult.h
68 FeaturesPlugin_Defeaturing.h
69 FeaturesPlugin_VersionedChFi.h
70 FeaturesPlugin_PointCoordinates.h
71 FeaturesPlugin_GeometryCalculation.h
72 FeaturesPlugin_BoundingBox.h
73 FeaturesPlugin_BoundingBoxBase.h
74 FeaturesPlugin_InspectBoundingBox.h
75 FeaturesPlugin_NormalToFace.h
76 FeaturesPlugin_InspectNormalToFace.h
80 FeaturesPlugin_Plugin.cpp
81 FeaturesPlugin_Extrusion.cpp
82 FeaturesPlugin_Recover.cpp
83 FeaturesPlugin_Revolution.cpp
84 FeaturesPlugin_Rotation.cpp
85 FeaturesPlugin_Translation.cpp
86 FeaturesPlugin_VersionedBoolean.cpp
87 FeaturesPlugin_Boolean.cpp
88 FeaturesPlugin_BooleanCut.cpp
89 FeaturesPlugin_BooleanFuse.cpp
90 FeaturesPlugin_BooleanCommon.cpp
91 FeaturesPlugin_BooleanSmash.cpp
92 FeaturesPlugin_BooleanFill.cpp
93 FeaturesPlugin_Intersection.cpp
94 FeaturesPlugin_Partition.cpp
95 FeaturesPlugin_Pipe.cpp
96 FeaturesPlugin_Placement.cpp
97 FeaturesPlugin_CompositeBoolean.cpp
98 FeaturesPlugin_CompositeSketch.cpp
99 FeaturesPlugin_ExtrusionBoolean.cpp
100 FeaturesPlugin_ExtrusionCut.cpp
101 FeaturesPlugin_ExtrusionFuse.cpp
102 FeaturesPlugin_RevolutionBoolean.cpp
103 FeaturesPlugin_RevolutionCut.cpp
104 FeaturesPlugin_RevolutionFuse.cpp
105 FeaturesPlugin_Union.cpp
106 FeaturesPlugin_ValidatorTransform.cpp
107 FeaturesPlugin_Validators.cpp
108 FeaturesPlugin_RemoveSubShapes.cpp
109 FeaturesPlugin_Tools.cpp
110 FeaturesPlugin_Symmetry.cpp
111 FeaturesPlugin_Scale.cpp
112 FeaturesPlugin_MultiTranslation.cpp
113 FeaturesPlugin_MultiRotation.cpp
114 FeaturesPlugin_Fillet.cpp
115 FeaturesPlugin_Fillet1D.cpp
116 FeaturesPlugin_Measurement.cpp
117 FeaturesPlugin_FusionFaces.cpp
118 FeaturesPlugin_RemoveResults.cpp
119 FeaturesPlugin_Chamfer.cpp
120 FeaturesPlugin_Copy.cpp
121 FeaturesPlugin_ImportResult.cpp
122 FeaturesPlugin_Defeaturing.cpp
123 FeaturesPlugin_VersionedChFi.cpp
124 FeaturesPlugin_PointCoordinates.cpp
125 FeaturesPlugin_GeometryCalculation.cpp
126 FeaturesPlugin_BoundingBox.cpp
127 FeaturesPlugin_BoundingBoxBase.cpp
128 FeaturesPlugin_InspectBoundingBox.cpp
129 FeaturesPlugin_NormalToFace.cpp
130 FeaturesPlugin_InspectNormalToFace.cpp
136 extrusioncut_widget.xml
137 extrusionfuse_widget.xml
138 revolution_widget.xml
139 revolutioncut_widget.xml
140 revolutionfuse_widget.xml
142 translation_widget.xml
144 boolean_fuse_widget.xml
145 boolean_common_widget.xml
146 boolean_split_widget.xml
147 boolean_smash_widget.xml
151 intersection_widget.xml
153 remove_subshapes_widget.xml
157 multitranslation_widget.xml
158 multirotation_widget.xml
161 measurement_widget.xml
162 fusion_faces_widget.xml
165 import_result_widget.xml
166 defeaturing_widget.xml
167 point_coordinates_widget.xml
168 geometry_calculation_widget.xml
169 bounding_box_widget.xml
170 create_bounding_box_widget.xml
171 normal_to_face_widget.xml
172 create_normal_to_face_widget.xml
176 FeaturesPlugin_msg_en.ts
177 FeaturesPlugin_msg_fr.ts
178 FeaturesPlugin_msg_ru.ts
181 SOURCE_GROUP ("XML Files" FILES ${XML_RESOURCES})
182 SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES})
193 ${OpenCASCADE_INCLUDE_DIR}
196 SET(PROJECT_LIBRARIES
203 ${OpenCASCADE_Visualization_LIBRARIES}
206 ADD_DEFINITIONS(-DFEATURESPLUGIN_EXPORTS)
207 ADD_LIBRARY(FeaturesPlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES} ${TEXT_RESOURCES})
208 TARGET_LINK_LIBRARIES(FeaturesPlugin ${PROJECT_LIBRARIES})
210 INSTALL(TARGETS FeaturesPlugin DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})
211 INSTALL(FILES ${XML_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
212 INSTALL(DIRECTORY icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Features)
213 INSTALL(FILES ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
223 set(TEST_INSTALL_DIRECTORY "${SALOME_SHAPER_INSTALL_TESTS}/FeaturesPlugin")
225 install(FILES CTestTestfileInstall.cmake
226 DESTINATION ${TEST_INSTALL_DIRECTORY}
227 RENAME CTestTestfile.cmake)
228 install(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
231 foreach(tfile ${TEST_NAMES})
232 list(APPEND TMP_TESTS_NAMES "Test/${tfile}")
233 endforeach(tfile ${TEST_NAMES})
235 install(FILES ${TMP_TESTS_NAMES} DESTINATION ${TEST_INSTALL_DIRECTORY})
236 ENDIF(${HAVE_SALOME})