SET(PROJECT_HEADERS
ConstructionAPI.h
ConstructionAPI_Point.h
-)
+ )
SET(PROJECT_SOURCES
ConstructionAPI_Point.cpp
-)
+ )
SET(PROJECT_LIBRARIES
ModelAPI
ModelHighAPI
-)
+ )
ADD_DEFINITIONS(-DCONSTRUCTIONAPI_EXPORTS ${CAS_DEFINITIONS})
ADD_LIBRARY(ConstructionAPI SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
SET_SOURCE_FILES_PROPERTIES(ConstructionAPI.i PROPERTIES SWIG_DEFINITIONS "-shadow")
INCLUDE_DIRECTORIES(
- ${PROJECT_SOURCE_DIR}/src/ModelAPI
- ${PROJECT_SOURCE_DIR}/src/ModelHighAPI
-)
+ ${PROJECT_SOURCE_DIR}/src/ModelAPI
+ ${PROJECT_SOURCE_DIR}/src/ModelHighAPI
+ )
TARGET_LINK_LIBRARIES(ConstructionAPI ${PROJECT_LIBRARIES})
SET(SWIG_SCRIPTS
- ${CMAKE_CURRENT_BINARY_DIR}/ConstructionAPI.py
-)
+ ${CMAKE_CURRENT_BINARY_DIR}/ConstructionAPI.py
+ )
SET(SWIG_LINK_LIBRARIES
- ConstructionAPI
- ModelHighAPI
- ModelAPI
- ${PYTHON_LIBRARIES}
-)
+ ConstructionAPI
+ ModelHighAPI
+ ModelAPI
+ ${PYTHON_LIBRARIES}
+ )
SET(SWIG_MODULE_ConstructionAPI_EXTRA_DEPS ${SWIG_MODULE_ConstructionAPI_EXTRA_DEPS}
${PROJECT_SOURCE_DIR}/src/ModelHighAPI/ModelHighAPI.i
#ifndef SRC_CONSTRUCTIONAPI_CONSTRUCTIONAPI_SWIG_H_
#define SRC_CONSTRUCTIONAPI_CONSTRUCTIONAPI_SWIG_H_
- #include "ModelHighAPI_swig.h"
+ #include <ModelHighAPI_swig.h>
- #include "ConstructionAPI.h"
#include "ConstructionAPI_Point.h"
#endif /* SRC_CONSTRUCTIONAPI_CONSTRUCTIONAPI_SWIG_H_ */