Salome HOME
Issue #2082 Sketch multiple rotation does not work as expected: debug information
[modules/shaper.git] / src / ConstructionAPI / CMakeLists.txt
index 5a416970993e415969926b3d558aad1c33f4804e..edf38ae48c2e0bcdf829cca7d6e7d3c391467587 100644 (file)
@@ -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)