X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPythonAPI%2FCMakeLists.txt;h=33337d6e39a45526000e90771316e19874717e6a;hb=3205d0f18200948632155bbe7b640bc1e482243d;hp=c89a7986859a74850eae271b9d9adb61d49b8778;hpb=fc1a9c802c59a0e853dc43125362e513b6f6358f;p=modules%2Fshaper.git diff --git a/src/PythonAPI/CMakeLists.txt b/src/PythonAPI/CMakeLists.txt index c89a79868..33337d6e3 100644 --- a/src/PythonAPI/CMakeLists.txt +++ b/src/PythonAPI/CMakeLists.txt @@ -3,4 +3,40 @@ SET(CMAKE_AUTOMOC ON) -INSTALL(DIRECTORY extension geom modeler DESTINATION pythonAPI) +INSTALL(DIRECTORY extension geom model examples DESTINATION PythonAPI) +INSTALL(FILES shaper.py DESTINATION PythonAPI) + +# --------- Unit tests ----------- +INCLUDE(UnitTest) + +ADD_UNIT_TESTS( + TestPythonAPI.py + TestModel.py + + TestSketcherAddPoint.py + TestSketcherAddLine.py + TestSketcherAddArc.py + TestSketcherAddCircle.py + TestSketcherAddMirror.py + TestSketcherSetCoincident.py + TestSketcherSetTangent.py + TestSketcherSetParallel.py + TestSketcherSetPerpendicular.py + TestSketcherSetHorizontal.py + TestSketcherSetVertical.py + TestSketcherSetRigid.py + TestSketcherSetLength.py + TestSketcherSetRadius.py + TestSketcherSetAngle.py + TestSketcherSetEqual.py + TestSketcherSetFillet.py + + TestFeatures.py + TestFeaturesExtrusion.py + TestFeaturesRevolution.py + + TestMakeBrick1.py + TestMakeBrick2.py + TestMakeBrick3.py + TestPlatine.py + )