X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FConstructionAPI%2FCMakeLists.txt;h=edf38ae48c2e0bcdf829cca7d6e7d3c391467587;hb=21a0c85b52bb93f94680e2342370764e6510e387;hp=b79f655cc456cf0f302d90da938f13288907aea1;hpb=4692c3d1bfca82fa0661a5150818cef6d782a7db;p=modules%2Fshaper.git diff --git a/src/ConstructionAPI/CMakeLists.txt b/src/ConstructionAPI/CMakeLists.txt index b79f655cc..edf38ae48 100644 --- a/src/ConstructionAPI/CMakeLists.txt +++ b/src/ConstructionAPI/CMakeLists.txt @@ -4,11 +4,13 @@ INCLUDE(Common) 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 ) @@ -24,6 +26,15 @@ INCLUDE_DIRECTORIES( ${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}) @@ -67,6 +78,5 @@ INCLUDE(UnitTest) ADD_UNIT_TESTS( TestPoint.py + TestAxis.py ) - -# ADD_SUBDIRECTORY (Test)