1 ## Copyright (C) 2014-20xx CEA/DEN, EDF R&D
6 INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src/Events
7 ${PROJECT_SOURCE_DIR}/src/Config
8 ${PROJECT_SOURCE_DIR}/src/ModelAPI
9 ${PROJECT_SOURCE_DIR}/src/GeomAPI
10 ${PROJECT_SOURCE_DIR}/src/GeomAlgoAPI
11 ${PROJECT_SOURCE_DIR}/src/XAO
16 ExchangePlugin_Plugin.h
17 ExchangePlugin_ImportFeature.h
18 ExchangePlugin_ExportFeature.h
19 ExchangePlugin_Validators.h
20 ExchangePlugin_Tools.h
24 ExchangePlugin_Plugin.cpp
25 ExchangePlugin_ImportFeature.cpp
26 ExchangePlugin_ExportFeature.cpp
27 ExchangePlugin_Validators.cpp
28 ExchangePlugin_Tools.cpp
37 ExchangePlugin_msg_en.ts
48 SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES})
50 ADD_DEFINITIONS(-DEXCHANGEPLUGIN_EXPORTS)
51 ADD_LIBRARY(ExchangePlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES} ${TEXT_RESOURCES})
53 TARGET_LINK_LIBRARIES(ExchangePlugin ${PROJECT_LIBRARIES})
55 INSTALL(TARGETS ExchangePlugin DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})
56 INSTALL(FILES ${XML_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
57 INSTALL(DIRECTORY icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Exchange)
58 INSTALL(FILES ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
60 ADD_UNIT_TESTS(TestImport.py TestExport.py)
74 FOREACH(file ${DATA_FILES})
76 ${CMAKE_CURRENT_SOURCE_DIR}/Test/Data/${file}
77 ${CMAKE_CURRENT_BINARY_DIR}/Data/${file}
79 ENDFOREACH(file ${DATA_FIELS})