1 # Copyright (C) 2014-2020 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
23 INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src/Events
24 ${PROJECT_SOURCE_DIR}/src/Config
25 ${PROJECT_SOURCE_DIR}/src/ModelAPI
26 ${PROJECT_SOURCE_DIR}/src/Locale
27 ${PROJECT_SOURCE_DIR}/src/GeomAPI
28 ${PROJECT_SOURCE_DIR}/src/GeomAlgoAPI
29 ${PROJECT_SOURCE_DIR}/src/GeomDataAPI
30 ${PROJECT_SOURCE_DIR}/src/GeomValidators
31 ${PROJECT_SOURCE_DIR}/src/SketchPlugin
32 ${PROJECT_SOURCE_DIR}/src/InitializationPlugin
44 BuildPlugin_Polyline.h
45 BuildPlugin_Interpolation.h
49 BuildPlugin_CompSolid.h
50 BuildPlugin_Compound.h
51 BuildPlugin_SubShapes.h
53 BuildPlugin_Validators.h
57 BuildPlugin_Plugin.cpp
59 BuildPlugin_Vertex.cpp
62 BuildPlugin_Polyline.cpp
63 BuildPlugin_Interpolation.cpp
67 BuildPlugin_CompSolid.cpp
68 BuildPlugin_Compound.cpp
69 BuildPlugin_SubShapes.cpp
70 BuildPlugin_Filling.cpp
71 BuildPlugin_Validators.cpp
80 interpolation_widget.xml
95 SOURCE_GROUP ("XML Files" FILES ${XML_RESOURCES})
96 SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES})
109 ADD_DEFINITIONS(-DBUILDPLUGIN_EXPORTS)
110 ADD_LIBRARY(BuildPlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES} ${TEXT_RESOURCES})
112 TARGET_LINK_LIBRARIES(BuildPlugin ${PROJECT_LIBRARIES})
114 INSTALL(TARGETS BuildPlugin DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})
115 INSTALL(FILES ${XML_RESOURCES} ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
116 INSTALL(DIRECTORY icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Build)
118 ADD_UNIT_TESTS(TestVertex.py
119 TestVertex_ErrorMsg.py
120 TestVertex_WholeSketch_1.py
121 TestVertex_WholeSketch_2.py
125 TestEdge_WholeSketch_1.py
126 TestEdge_WholeSketch_2.py
127 TestEdge_WholeSketch_3.py
128 TestEdge_WholeSketch_4.py
131 TestWire_WholeSketch_1.py
132 TestWire_WholeSketch_2.py
133 TestWire_WholeSketch_3.py
134 TestWire_WholeSketch_4.py
135 TestWire_WholeSketch_5.py
136 TestWire_WholeSketch_6.py
141 TestFace_WholeSketch_1.py
142 TestFace_WholeSketch_2.py
144 TestShell_WholeSketch_1.py
145 TestShell_WholeSketch_2.py
147 TestSolid_ErrorMsg.py
150 TestCompound_ErrorMsg.py
151 TestCompound_History.py
153 TestSubShapes_ErrorMsg.py
155 TestFilling_ByEdges.py
156 TestFilling_ByWires.py
158 TestFilling_ErrorMsg.py