X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FCMakeLists.txt;h=47a4266decdfab4eb7531f0514355c54f5309026;hb=87f348fe7ec3805441bd5524536736eeb2e87501;hp=e765913a8bb46a71c9617c52f3501e09690287af;hpb=4aa37ed1eb429f7391098b5202922d43e85fcc30;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/CMakeLists.txt b/src/GeomAlgoAPI/CMakeLists.txt index e765913a8..47a4266de 100644 --- a/src/GeomAlgoAPI/CMakeLists.txt +++ b/src/GeomAlgoAPI/CMakeLists.txt @@ -4,6 +4,7 @@ FIND_PACKAGE(SWIG REQUIRED) INCLUDE(${SWIG_USE_FILE}) INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}) +INCLUDE(UnitTest) SET(PROJECT_HEADERS GeomAlgoAPI.h @@ -38,6 +39,17 @@ SET(PROJECT_HEADERS GeomAlgoAPI_Pipe.h GeomAlgoAPI_WireBuilder.h GeomAlgoAPI_Sewing.h + GeomAlgoAPI_ShapeBuilder.h + GeomAlgoAPI_ShapeAPI.h + GeomAlgoAPI_Exception.h + GeomAlgoAPI_Box.h + GeomAlgoAPI_Cylinder.h + GeomAlgoAPI_XAOExport.h + GeomAlgoAPI_XAOImport.h + GeomAlgoAPI_Copy.h + GeomAlgoAPI_ConeSegment.h + GeomAlgoAPI_Symmetry.h + GeomAlgoAPI_Scale.h ) SET(PROJECT_SOURCES @@ -72,12 +84,24 @@ SET(PROJECT_SOURCES GeomAlgoAPI_Pipe.cpp GeomAlgoAPI_WireBuilder.cpp GeomAlgoAPI_Sewing.cpp + GeomAlgoAPI_ShapeBuilder.cpp + GeomAlgoAPI_ShapeAPI.cpp + GeomAlgoAPI_Exception.cpp + GeomAlgoAPI_Box.cpp + GeomAlgoAPI_Cylinder.cpp + GeomAlgoAPI_XAOExport.cpp + GeomAlgoAPI_XAOImport.cpp + GeomAlgoAPI_Copy.cpp + GeomAlgoAPI_ConeSegment.cpp + GeomAlgoAPI_Symmetry.cpp + GeomAlgoAPI_Scale.cpp ) SET(PROJECT_LIBRARIES GeomAPI GeomAlgoImpl ModelAPI + XAOShaper ${CAS_OCAF} ${CAS_SHAPE} ${CAS_TKBO} @@ -93,6 +117,7 @@ SET(PROJECT_LIBRARIES ${CAS_TKTopAlgo} ${CAS_TKXSBase} ${CAS_TKOffset} + ${CAS_TKShHealing} ) ADD_DEFINITIONS(-DGEOMALGOAPI_EXPORTS ${CAS_DEFINITIONS}) @@ -107,6 +132,7 @@ INCLUDE_DIRECTORIES( ../GeomAPI ../GeomAlgoImpl ../ModelAPI + ../XAO ${CAS_INCLUDE_DIRS} ) @@ -133,3 +159,11 @@ ENDIF(WIN32) INSTALL(TARGETS _GeomAlgoAPI DESTINATION ${SHAPER_INSTALL_SWIG}) INSTALL(TARGETS GeomAlgoAPI DESTINATION ${SHAPER_INSTALL_BIN}) INSTALL(FILES ${SWIG_SCRIPTS} DESTINATION ${SHAPER_INSTALL_SWIG}) + +ADD_UNIT_TESTS(TestAPI_Box.py + TestAPI_Cylinder.py + TestAPI_GDMLConeSegment.py + TestAPI_Scale.py + TestAPI_Symmetry.py + TestAPI_Translation.py) +