1 # Copyright (C) 2014-2019 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
25 ConstructionPlugin_Plugin.h
26 ConstructionPlugin_Point.h
27 ConstructionPlugin_Axis.h
28 ConstructionPlugin_Plane.h
29 ConstructionPlugin_Validators.h
33 ConstructionPlugin_Plugin.cpp
34 ConstructionPlugin_Point.cpp
35 ConstructionPlugin_Axis.cpp
36 ConstructionPlugin_Plane.cpp
37 ConstructionPlugin_Validators.cpp
41 plugin-Construction.xml
48 ConstructionPlugin_msg_en.ts
59 SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES})
61 ADD_DEFINITIONS(-DCONSTRUCTIONPLUGIN_EXPORTS)
62 ADD_LIBRARY(ConstructionPlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES} ${TEXT_RESOURCES})
63 TARGET_LINK_LIBRARIES(ConstructionPlugin ${PROJECT_LIBRARIES})
65 INSTALL(TARGETS ConstructionPlugin DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})
66 INSTALL(FILES ${XML_RESOURCES} ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
67 INSTALL(DIRECTORY icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Construction)
79 ADD_UNIT_TESTS(TestAxisCreation.py
83 TestPoint_IntersectLines.py
84 TestPoint_IntersectLineAndPlane.py
85 TestPoint_IntersectPlanes.py
87 TestPoint_ProjectOnEdge.py
88 TestPoint_ProjectOnFace.py
89 TestPoint_GeometricalPropertyCenterOfGravity.py
90 TestPoint_GeometricalPropertyCenterOfCircle.py
91 TestPoint_VertexSelection.py
94 TestPoint_FiniteValidator.py
97 TestPlane_FaceValidator.py