1 ## Copyright (C) 2014-20xx CEA/DEN, EDF R&D
10 ModelHighAPI_Interface.h
12 ModelHighAPI_RefAttr.h
13 ModelHighAPI_Reference.h
14 ModelHighAPI_Selection.h
15 ModelHighAPI_Services.h
17 ModelHighAPI_FeatureStore.h
21 ModelHighAPI_Double.cpp
22 ModelHighAPI_Dumper.cpp
23 ModelHighAPI_Integer.cpp
24 ModelHighAPI_Interface.cpp
25 ModelHighAPI_RefAttr.cpp
26 ModelHighAPI_Reference.cpp
27 ModelHighAPI_Selection.cpp
28 ModelHighAPI_Services.cpp
29 ModelHighAPI_Tools.cpp
30 ModelHighAPI_FeatureStore.cpp
42 ADD_DEFINITIONS(-DMODELHIGHAPI_EXPORTS -DWNT)
43 ADD_LIBRARY(ModelHighAPI SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
44 #TODO(spo): is it necessary?
45 SET_TARGET_PROPERTIES(ModelHighAPI PROPERTIES LINKER_LANGUAGE CXX)
46 TARGET_LINK_LIBRARIES(ModelHighAPI ${PROJECT_LIBRARIES})
52 SET_SOURCE_FILES_PROPERTIES(ModelHighAPI.i PROPERTIES CPLUSPLUS ON)
53 SET_SOURCE_FILES_PROPERTIES(ModelHighAPI.i PROPERTIES SWIG_DEFINITIONS "-shadow")
55 SET(SWIG_LINK_LIBRARIES
61 ${PROJECT_SOURCE_DIR}/src/Config
62 ${PROJECT_SOURCE_DIR}/src/Events
63 ${PROJECT_SOURCE_DIR}/src/GeomAPI
64 ${PROJECT_SOURCE_DIR}/src/GeomAlgoAPI
65 ${PROJECT_SOURCE_DIR}/src/GeomDataAPI
66 ${PROJECT_SOURCE_DIR}/src/ModelAPI
67 ${PROJECT_SOURCE_DIR}/src/PartSetPlugin
71 set(SWIG_MODULE_ModelHighAPI_EXTRA_DEPS
76 SWIG_ADD_MODULE(ModelHighAPI python ModelHighAPI.i ${PROJECT_HEADERS})
77 SWIG_LINK_LIBRARIES(ModelHighAPI ${SWIG_LINK_LIBRARIES})
80 SET_TARGET_PROPERTIES(_ModelHighAPI PROPERTIES DEBUG_OUTPUT_NAME _ModelHighAPI_d)
83 INSTALL(TARGETS _ModelHighAPI DESTINATION ${SHAPER_INSTALL_SWIG})
84 INSTALL(TARGETS ModelHighAPI DESTINATION ${SHAPER_INSTALL_BIN})
85 INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/ModelHighAPI.py DESTINATION ${SHAPER_INSTALL_SWIG})