1 ## Copyright (C) 2014-2024 CEA, EDF
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
25 FiltersPlugin_Plugin.h
26 FiltersPlugin_Selection.h
27 FiltersPlugin_HorizontalFace.h
28 FiltersPlugin_VerticalFace.h
29 FiltersPlugin_BelongsTo.h
30 FiltersPlugin_OnPlane.h
31 FiltersPlugin_OnLine.h
32 FiltersPlugin_OnGeometry.h
33 FiltersPlugin_OnPlaneSide.h
34 FiltersPlugin_OppositeToEdge.h
35 FiltersPlugin_RelativeToSolid.h
36 FiltersPlugin_ExternalFaces.h
37 FiltersPlugin_Validators.h
38 FiltersPlugin_EdgeSize.h
39 FiltersPlugin_FaceSize.h
40 FiltersPlugin_VolumeSize.h
41 FiltersPlugin_FeatureEdges.h
42 FiltersPlugin_ContinuousFaces.h
43 FiltersPlugin_OnShapeName.h
47 FiltersPlugin_Plugin.cpp
48 FiltersPlugin_Selection.cpp
49 FiltersPlugin_HorizontalFace.cpp
50 FiltersPlugin_VerticalFace.cpp
51 FiltersPlugin_BelongsTo.cpp
52 FiltersPlugin_OnPlane.cpp
53 FiltersPlugin_OnLine.cpp
54 FiltersPlugin_OnGeometry.cpp
55 FiltersPlugin_OnPlaneSide.cpp
56 FiltersPlugin_OppositeToEdge.cpp
57 FiltersPlugin_RelativeToSolid.cpp
58 FiltersPlugin_ExternalFaces.cpp
59 FiltersPlugin_Validators.cpp
60 FiltersPlugin_EdgeSize.cpp
61 FiltersPlugin_FaceSize.cpp
62 FiltersPlugin_VolumeSize.cpp
63 FiltersPlugin_FeatureEdges.cpp
64 FiltersPlugin_ContinuousFaces.cpp
65 FiltersPlugin_OnShapeName.cpp
78 FiltersPlugin_TopoConnectedFaces.py
87 filter-OnPlaneSide.xml
88 filter-OppositeToEdge.xml
89 filter-RelativeToSolid.xml
90 filter-TopoConnectedFaces.xml
94 filter-FeatureEdges.xml
95 filter-ContinuousFaces.xml
96 filter-OnShapeName.xml
100 FiltersPlugin_msg_en.ts
101 FiltersPlugin_msg_fr.ts
104 SOURCE_GROUP ("XML Files" FILES ${XML_RESOURCES})
105 SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES})
107 ADD_DEFINITIONS(-DFILTERS_EXPORTS ${OpenCASCADE_DEFINITIONS})
108 ADD_LIBRARY(FiltersPlugin SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES} ${TEXT_RESOURCES})
109 TARGET_LINK_LIBRARIES(FiltersPlugin ${PROJECT_LIBRARIES})
112 ${OpenCASCADE_INCLUDE_DIR}
113 ${PROJECT_SOURCE_DIR}/src/ModelAPI
114 ${PROJECT_SOURCE_DIR}/src/Config
115 ${PROJECT_SOURCE_DIR}/src/Events
116 ${PROJECT_SOURCE_DIR}/src/GeomAPI
117 ${PROJECT_SOURCE_DIR}/src/GeomAlgoAPI
118 ${PROJECT_SOURCE_DIR}/src/GeomDataAPI
119 ${PROJECT_SOURCE_DIR}/src/GeomValidators
120 ${PROJECT_SOURCE_DIR}/src/CollectionPlugin
121 ${PROJECT_SOURCE_DIR}/src/Locale
124 INSTALL(TARGETS FiltersPlugin DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})
125 INSTALL(FILES ${XML_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
126 INSTALL(FILES ${PROJECT_PYFILES} DESTINATION ${SHAPER_INSTALL_ADDONS})
127 INSTALL(FILES ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
131 ADD_UNIT_TESTS(${TEST_NAMES})
135 set(TEST_INSTALL_DIRECTORY "${SALOME_SHAPER_INSTALL_TESTS}/FiltersPlugin")
137 install(FILES CTestTestfileInstall.cmake
138 DESTINATION ${TEST_INSTALL_DIRECTORY}
139 RENAME CTestTestfile.cmake)
140 install(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
143 foreach(tfile ${TEST_NAMES})
144 list(APPEND TMP_TESTS_NAMES "Test/${tfile}")
145 endforeach(tfile ${TEST_NAMES})
147 install(FILES ${TMP_TESTS_NAMES} DESTINATION ${TEST_INSTALL_DIRECTORY})
148 endif(${HAVE_SALOME})