INCLUDE(${SWIG_USE_FILE})
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
+INCLUDE(UnitTest)
SET(PROJECT_HEADERS
GeomAlgoAPI.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_Cylinder.h
+ GeomAlgoAPI_XAOExport.h
+ GeomAlgoAPI_XAOImport.h
+ GeomAlgoAPI_Copy.h
+ GeomAlgoAPI_ConeSegment.h
+ GeomAlgoAPI_Symmetry.h
+ GeomAlgoAPI_Scale.h
)
SET(PROJECT_SOURCES
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_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}
${CAS_TKTopAlgo}
${CAS_TKXSBase}
${CAS_TKOffset}
+ ${CAS_TKShHealing}
)
ADD_DEFINITIONS(-DGEOMALGOAPI_EXPORTS ${CAS_DEFINITIONS})
../GeomAPI
../GeomAlgoImpl
../ModelAPI
+ ../XAO
${CAS_INCLUDE_DIRS}
)
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)
+