SET(PROJECT_HEADERS
ConstructionAPI.h
+ ConstructionAPI_Axis.h
+ ConstructionAPI_Plane.h
ConstructionAPI_Point.h
)
SET(PROJECT_SOURCES
+ ConstructionAPI_Axis.cpp
+ ConstructionAPI_Plane.cpp
ConstructionAPI_Point.cpp
)
${PROJECT_SOURCE_DIR}/src/ModelHighAPI
)
+# Plugin headers dependency
+INCLUDE_DIRECTORIES(
+ # TODO(spo): modify ConstructionPlugin headers to remove dependency on GeomAPI headers
+ ${PROJECT_SOURCE_DIR}/src/GeomAPI
+ # TODO(spo): it is for *_swig.h files. Can we eliminate it?
+ ${PROJECT_SOURCE_DIR}/src/GeomDataAPI
+ ${PROJECT_SOURCE_DIR}/src/ConstructionPlugin
+)
+
#TODO(spo): is ${CAS_DEFINITIONS} necessary?
ADD_DEFINITIONS(-DCONSTRUCTIONAPI_EXPORTS ${CAS_DEFINITIONS})
ADD_LIBRARY(ConstructionAPI SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
ADD_UNIT_TESTS(
TestPoint.py
+ TestAxis.py
)
-
-ADD_SUBDIRECTORY (Test)