1 ## Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
7 # additional include directories
8 INCLUDE_DIRECTORIES(${QT_INCLUDES})
10 # additional preprocessor / compiler flags
11 ADD_DEFINITIONS(${QT_DEFINITIONS})
15 CollectionPlugin_Plugin.h
16 CollectionPlugin_Group.h
17 CollectionPlugin_Field.h
18 CollectionPlugin_WidgetCreator.h
19 CollectionPlugin_WidgetField.h
22 SET(PROJECT_MOC_HEADERS
23 CollectionPlugin_WidgetField.h
27 CollectionPlugin_Plugin.cpp
28 CollectionPlugin_Group.cpp
29 CollectionPlugin_Field.cpp
30 CollectionPlugin_WidgetCreator.cpp
31 CollectionPlugin_WidgetField.cpp
40 CollectionPlugin_msg_en.ts
43 # sources / moc wrappings
44 QT_WRAP_MOC(PROJECT_AUTOMOC ${PROJECT_MOC_HEADERS})
46 #QT5_ADD_TRANSLATION(QM_RESOURCES ${TEXT_RESOURCES})
48 SOURCE_GROUP ("Generated Files" FILES ${PROJECT_AUTOMOC} ${PROJECT_COMPILED_RESOURCES} ${QM_RESOURCES})
49 SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES})
72 ADD_DEFINITIONS(-DCOLLECTIONPLUGIN_EXPORTS ${CAS_DEFINITIONS})
73 ADD_LIBRARY(CollectionPlugin MODULE
79 TARGET_LINK_LIBRARIES(CollectionPlugin ${PROJECT_LIBRARIES})
81 INSTALL(TARGETS CollectionPlugin DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})
82 INSTALL(FILES ${XML_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
83 INSTALL(DIRECTORY icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Collection)
84 INSTALL(FILES ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})