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
15 ExchangePlugin_Plugin.h
16 ExchangePlugin_ImportFeature.h
17 ExchangePlugin_ExportFeature.h
18 ExchangePlugin_Validators.h
19 ExchangePlugin_Tools.h
23 ExchangePlugin_Plugin.cpp
24 ExchangePlugin_ImportFeature.cpp
25 ExchangePlugin_ExportFeature.cpp
26 ExchangePlugin_Validators.cpp
27 ExchangePlugin_Tools.cpp
42 ADD_DEFINITIONS(-DEXCHANGEPLUGIN_EXPORTS)
43 ADD_LIBRARY(ExchangePlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES})
45 TARGET_LINK_LIBRARIES(ExchangePlugin ${PROJECT_LIBRARIES})
47 INSTALL(TARGETS ExchangePlugin DESTINATION plugins)
48 INSTALL(FILES ${XML_RESOURCES} DESTINATION plugins)
50 ADD_UNIT_TESTS(TestImport.py TestExport.py)
52 CONFIGURE_FILE(Test/Data/solid.brep Data/solid.brep COPYONLY)
53 CONFIGURE_FILE(Test/Data/solid.brp Data/solid.brp COPYONLY)
54 CONFIGURE_FILE(Test/Data/screw.step Data/screw.step COPYONLY)
55 CONFIGURE_FILE(Test/Data/screw.stp Data/screw.stp COPYONLY)
56 CONFIGURE_FILE(Test/Data/bearing.iges Data/bearing.iges COPYONLY)
57 CONFIGURE_FILE(Test/Data/bearing.igs Data/bearing.igs COPYONLY)