Salome HOME
Issue #1834: Fix length of lines
[modules/shaper.git] / src / GeomAlgoAPI / CMakeLists.txt
index 83a668987dc3824de0e2c3674b65aa1ae50a2814..c4ff34d4d8ea4cf607ddba60454cd64a5fce2796 100644 (file)
@@ -13,11 +13,15 @@ SET(PROJECT_HEADERS
     GeomAlgoAPI_EdgeBuilder.h
     GeomAlgoAPI_PointBuilder.h
     GeomAlgoAPI_SketchBuilder.h
-    GeomAlgoAPI_Extrusion.h
     GeomAlgoAPI_Prism.h
+    GeomAlgoAPI_Revolution.h
     GeomAlgoAPI_Boolean.h
+    GeomAlgoAPI_Rotation.h
+    GeomAlgoAPI_Translation.h
     GeomAlgoAPI_MakeShape.h
-    GeomAlgoAPI_ShapeProps.h
+    GeomAlgoAPI_MakeShapeCustom.h
+    GeomAlgoAPI_MakeShapeList.h
+    GeomAlgoAPI_MakeSweep.h
     GeomAlgoAPI_DFLoader.h
     GeomAlgoAPI_Placement.h
     GeomAlgoAPI_BREPImport.h
@@ -26,6 +30,22 @@ SET(PROJECT_HEADERS
     GeomAlgoAPI_BREPExport.h
     GeomAlgoAPI_STEPExport.h
     GeomAlgoAPI_IGESExport.h
+    GeomAlgoAPI_Transform.h
+    GeomAlgoAPI_ShapeTools.h
+    GeomAlgoAPI_Partition.h
+    GeomAlgoAPI_PaveFiller.h
+    GeomAlgoAPI_Intersection.h
+    GeomAlgoAPI_Pipe.h
+    GeomAlgoAPI_WireBuilder.h
+    GeomAlgoAPI_Sewing.h
+    GeomAlgoAPI_ShapeBuilder.h
+    GeomAlgoAPI_ShapeAPI.h
+    GeomAlgoAPI_Exception.h
+    GeomAlgoAPI_Box.h
+    GeomAlgoAPI_BoxPoints.h
+    GeomAlgoAPI_XAOExport.h
+    GeomAlgoAPI_XAOImport.h
+    GeomAlgoAPI_Copy.h
 )
 
 SET(PROJECT_SOURCES
@@ -35,11 +55,15 @@ SET(PROJECT_SOURCES
     GeomAlgoAPI_EdgeBuilder.cpp
     GeomAlgoAPI_PointBuilder.cpp
     GeomAlgoAPI_SketchBuilder.cpp
-    GeomAlgoAPI_Extrusion.cpp
     GeomAlgoAPI_Prism.cpp
+    GeomAlgoAPI_Revolution.cpp
     GeomAlgoAPI_Boolean.cpp
+    GeomAlgoAPI_Rotation.cpp
+    GeomAlgoAPI_Translation.cpp
     GeomAlgoAPI_MakeShape.cpp
-    GeomAlgoAPI_ShapeProps.cpp
+    GeomAlgoAPI_MakeShapeCustom.cpp
+    GeomAlgoAPI_MakeShapeList.cpp
+    GeomAlgoAPI_MakeSweep.cpp
     GeomAlgoAPI_DFLoader.cpp
     GeomAlgoAPI_Placement.cpp
     GeomAlgoAPI_BREPImport.cpp
@@ -48,15 +72,33 @@ SET(PROJECT_SOURCES
     GeomAlgoAPI_BREPExport.cpp
     GeomAlgoAPI_STEPExport.cpp
     GeomAlgoAPI_IGESExport.cpp
+    GeomAlgoAPI_Transform.cpp
+    GeomAlgoAPI_ShapeTools.cpp
+    GeomAlgoAPI_Partition.cpp
+    GeomAlgoAPI_PaveFiller.cpp
+    GeomAlgoAPI_Intersection.cpp
+    GeomAlgoAPI_Pipe.cpp
+    GeomAlgoAPI_WireBuilder.cpp
+    GeomAlgoAPI_Sewing.cpp
+    GeomAlgoAPI_ShapeBuilder.cpp
+    GeomAlgoAPI_ShapeAPI.cpp
+    GeomAlgoAPI_Exception.cpp
+    GeomAlgoAPI_Box.cpp
+    GeomAlgoAPI_BoxPoints.cpp
+    GeomAlgoAPI_XAOExport.cpp
+    GeomAlgoAPI_XAOImport.cpp
+    GeomAlgoAPI_Copy.cpp
 )
 
 SET(PROJECT_LIBRARIES
     GeomAPI
+    GeomAlgoImpl
     ModelAPI
+    XAO
     ${CAS_OCAF}
     ${CAS_SHAPE}
-    ${CAS_TKBO} 
-    ${CAS_TKBool} 
+    ${CAS_TKBO}
+    ${CAS_TKBool}
     ${CAS_TKBRep}
     ${CAS_TKCAF}
     ${CAS_TKCAF}
@@ -66,7 +108,8 @@ SET(PROJECT_LIBRARIES
     ${CAS_TKSTEPBase}
     ${CAS_TKIGES}
     ${CAS_TKTopAlgo}
-    ${CAS_TKXSBase} 
+    ${CAS_TKXSBase}
+    ${CAS_TKOffset}
 )
 
 ADD_DEFINITIONS(-DGEOMALGOAPI_EXPORTS ${CAS_DEFINITIONS})
@@ -79,7 +122,9 @@ SET_SOURCE_FILES_PROPERTIES(GeomAlgoAPI.i PROPERTIES SWIG_DEFINITIONS "-shadow")
 
 INCLUDE_DIRECTORIES(
   ../GeomAPI
+  ../GeomAlgoImpl
   ../ModelAPI
+  ../XAO
   ${CAS_INCLUDE_DIRS}
 )
 
@@ -92,6 +137,7 @@ SET(SWIG_SCRIPTS
 SET(SWIG_LINK_LIBRARIES
   GeomAPI
   GeomAlgoAPI
+  GeomAlgoImpl
   ${PYTHON_LIBRARIES}
 )
 
@@ -102,6 +148,6 @@ IF(WIN32)
   SET_TARGET_PROPERTIES(_GeomAlgoAPI PROPERTIES DEBUG_OUTPUT_NAME _GeomAlgoAPI_d)
 ENDIF(WIN32)
 
-INSTALL(TARGETS _GeomAlgoAPI DESTINATION swig)
-INSTALL(TARGETS GeomAlgoAPI DESTINATION bin)
-INSTALL(FILES ${SWIG_SCRIPTS} DESTINATION swig)
+INSTALL(TARGETS _GeomAlgoAPI DESTINATION ${SHAPER_INSTALL_SWIG})
+INSTALL(TARGETS GeomAlgoAPI DESTINATION ${SHAPER_INSTALL_BIN})
+INSTALL(FILES ${SWIG_SCRIPTS} DESTINATION ${SHAPER_INSTALL_SWIG})