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
23 CollectionPlugin_Plugin.cpp
24 CollectionPlugin_Group.cpp
25 CollectionPlugin_Field.cpp
26 CollectionPlugin_WidgetCreator.cpp
27 CollectionPlugin_WidgetField.cpp
36 CollectionPlugin_msg_en.ts
39 # sources / moc wrappings
40 QT_WRAP_MOC(PROJECT_AUTOMOC ${PROJECT_HEADERS})
42 #QT5_ADD_TRANSLATION(QM_RESOURCES ${TEXT_RESOURCES})
44 SOURCE_GROUP ("Generated Files" FILES ${PROJECT_AUTOMOC} ${PROJECT_COMPILED_RESOURCES} ${QM_RESOURCES})
45 SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES})
68 ADD_DEFINITIONS(-DCOLLECTIONPLUGIN_EXPORTS ${CAS_DEFINITIONS})
69 ADD_LIBRARY(CollectionPlugin MODULE
75 TARGET_LINK_LIBRARIES(CollectionPlugin ${PROJECT_LIBRARIES})
77 INSTALL(TARGETS CollectionPlugin DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})
78 INSTALL(FILES ${XML_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
79 INSTALL(DIRECTORY icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Collection)
80 INSTALL(FILES ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})