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
24 # additional include directories
25 INCLUDE_DIRECTORIES(${QT_INCLUDES})
27 # additional preprocessor / compiler flags
28 ADD_DEFINITIONS(${QT_DEFINITIONS})
32 CollectionPlugin_Plugin.h
33 CollectionPlugin_Group.h
34 CollectionPlugin_GroupAddition.h
35 CollectionPlugin_Field.h
36 CollectionPlugin_WidgetCreator.h
37 CollectionPlugin_WidgetField.h
38 CollectionPlugin_Validators.h
41 SET(PROJECT_MOC_HEADERS
42 CollectionPlugin_WidgetField.h
46 CollectionPlugin_Plugin.cpp
47 CollectionPlugin_Group.cpp
48 CollectionPlugin_GroupAddition.cpp
49 CollectionPlugin_Field.cpp
50 CollectionPlugin_WidgetCreator.cpp
51 CollectionPlugin_WidgetField.cpp
52 CollectionPlugin_Validators.cpp
58 group_addition_widget.xml
59 group_intersection_widget.xml
60 group_substraction_widget.xml
64 CollectionPlugin_msg_en.ts
67 # sources / moc wrappings
68 QT_WRAP_MOC(PROJECT_AUTOMOC ${PROJECT_MOC_HEADERS})
70 #QT5_ADD_TRANSLATION(QM_RESOURCES ${TEXT_RESOURCES})
72 SOURCE_GROUP ("Generated Files" FILES ${PROJECT_AUTOMOC} ${PROJECT_COMPILED_RESOURCES} ${QM_RESOURCES})
73 SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES})
84 ${OpenCASCADE_INCLUDE_DIR}
96 ADD_DEFINITIONS(-DCOLLECTIONPLUGIN_EXPORTS ${OpenCASCADE_DEFINITIONS})
97 ADD_LIBRARY(CollectionPlugin MODULE
103 TARGET_LINK_LIBRARIES(CollectionPlugin ${PROJECT_LIBRARIES})
105 INSTALL(TARGETS CollectionPlugin DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})
106 INSTALL(FILES ${XML_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
107 INSTALL(DIRECTORY icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Collection)
108 INSTALL(FILES ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
135 TestGroupShareTopology.py
137 TestGroupAddition_Error.py