1 ## Copyright (C) 2014-2017 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
18 ## email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
25 # additional include directories
26 INCLUDE_DIRECTORIES(${QT_INCLUDES})
28 # additional preprocessor / compiler flags
29 ADD_DEFINITIONS(${QT_DEFINITIONS})
33 CollectionPlugin_Plugin.h
34 CollectionPlugin_Group.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_Field.cpp
49 CollectionPlugin_WidgetCreator.cpp
50 CollectionPlugin_WidgetField.cpp
51 CollectionPlugin_Validators.cpp
60 CollectionPlugin_msg_en.ts
63 # sources / moc wrappings
64 QT_WRAP_MOC(PROJECT_AUTOMOC ${PROJECT_MOC_HEADERS})
66 #QT5_ADD_TRANSLATION(QM_RESOURCES ${TEXT_RESOURCES})
68 SOURCE_GROUP ("Generated Files" FILES ${PROJECT_AUTOMOC} ${PROJECT_COMPILED_RESOURCES} ${QM_RESOURCES})
69 SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES})
80 ${OpenCASCADE_INCLUDE_DIR}
92 ADD_DEFINITIONS(-DCOLLECTIONPLUGIN_EXPORTS ${OpenCASCADE_DEFINITIONS})
93 ADD_LIBRARY(CollectionPlugin MODULE
99 TARGET_LINK_LIBRARIES(CollectionPlugin ${PROJECT_LIBRARIES})
101 INSTALL(TARGETS CollectionPlugin DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})
102 INSTALL(FILES ${XML_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
103 INSTALL(DIRECTORY icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Collection)
104 INSTALL(FILES ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
125 TestGroupShareTopology.py