X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FCMakeLists.txt;h=629a49ba07cf6047e015381e335141f5a85e4db1;hb=17e6ef7b0da655c421acf2ddcd990f1751a23f8e;hp=94e45677774d15570a4b61c25dafa73957402026;hpb=ee691173934c004af668771da8421902fc04625c;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/CMakeLists.txt b/src/SketchPlugin/CMakeLists.txt index 94e456777..629a49ba0 100644 --- a/src/SketchPlugin/CMakeLists.txt +++ b/src/SketchPlugin/CMakeLists.txt @@ -1,22 +1,21 @@ -## Copyright (C) 2014-2017 CEA/DEN, EDF R&D -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -## -## See http:##www.salome-platform.org/ or -## email : webmaster.salome@opencascade.com -## +# Copyright (C) 2014-2019 CEA/DEN, EDF R&D +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# INCLUDE(Common) INCLUDE(UnitTest) @@ -66,6 +65,7 @@ SET(PROJECT_HEADERS SketchPlugin_Tools.h SketchPlugin_Trim.h SketchPlugin_Validators.h + SketchPlugin_SketchDrawer.h ) SET(PROJECT_SOURCES @@ -73,7 +73,6 @@ SET(PROJECT_SOURCES SketchPlugin_Circle.cpp SketchPlugin_Constraint.cpp SketchPlugin_ConstraintAngle.cpp - SketchPlugin_ConstraintBase.cpp SketchPlugin_ConstraintCoincidence.cpp SketchPlugin_ConstraintCollinear.cpp SketchPlugin_ConstraintDistance.cpp @@ -111,6 +110,7 @@ SET(PROJECT_SOURCES SketchPlugin_Tools.cpp SketchPlugin_Trim.cpp SketchPlugin_Validators.cpp + SketchPlugin_SketchDrawer.cpp ) SET(PROJECT_LIBRARIES @@ -125,6 +125,7 @@ SET(PROJECT_LIBRARIES SET(XML_RESOURCES plugin-Sketch.xml + plugin-SketchDrawer.xml ) SET(TEXT_RESOURCES @@ -153,88 +154,140 @@ INSTALL(FILES ${XML_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}) INSTALL(DIRECTORY icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Sketch) INSTALL(FILES ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}) -ADD_UNIT_TESTS(TestSketchPointLine.py - TestCreateArcByCenterStartEnd.py - TestCreateArcByThreePoints.py - TestCreateArcByTangentEdge.py - TestCreateArcChangeType.py - TestCreateCircleByCenterAndPassed.py - TestCreateCircleByThreePoints.py - TestCreateCircleChangeType.py - TestConstraintCoincidence.py - TestConstraintCollinear.py - TestConstraintLength.py - TestConstraintDistance.py - TestConstraintDistanceHorizontal.py - TestConstraintDistanceVertical.py - TestConstraintDistanceBehavior.py - TestConstraintParallel.py - TestConstraintPerpendicular.py - TestConstraintRadius.py - TestConstraintFixed.py - TestConstraintHorizontal.py - TestConstraintHorizontalValidator.py - TestConstraintVertical.py - TestConstraintEqual.py - TestConstraintTangent.py - TestConstraintAngle.py - TestConstraintMiddlePoint.py - TestEdgesOrder.py - TestMirror.py - TestMultiRotation.py - TestMultiTranslation.py - TestFillet.py - TestFilletInteracting.py - TestRectangle.py - TestProjection.py - TestProjectionIntoResult.py - TestSplit.py - TestHighload.py - TestSnowflake.py - TestArcBehavior.py - TestRemoveSketch.py - Test1061.py - Test1673.py - Test1924.py - Test1966.py - Test1967.py - Test2095.py - Test2115.py - TestTrimArc01.py - TestTrimArc02.py - TestTrimArc03.py - TestTrimArc04.py - TestTrimArc05.py - TestTrimArc06.py - TestTrimArc07.py - TestTrimCircle01.py - TestTrimCircle02.py - TestTrimCircle03.py - TestTrimCircle04.py - TestTrimCircle05.py - TestTrimCircleAndArc01.py - TestTrimLine01.py - TestTrimLine02.py - Test2229.py - Test2239.py - TestDistanceSignedVsUnsigned01.py - TestDistanceSignedVsUnsigned02.py - TestDistanceSignedVsUnsigned03.py - TestDistanceSignedVsUnsigned04.py - TestDistanceSignedVsUnsigned05.py - TestSignedDistancePointPoint.py - TestSignedDistancePointLine.py - Test2273.py - Test2280.py - Test2287.py +ADD_UNIT_TESTS( + Test1061.py + Test1577.py + Test1578.py + Test1673.py + Test1779.py + Test1924.py + Test1963.py + Test1966.py + Test1967.py + Test2034_1.py + Test2034_2.py + Test2034_3.py + Test2062.py + Test2095.py + Test2115.py + Test2119.py + Test2134.py + Test2157.py + Test2157_2.py + Test2224.py + Test2229.py + Test2239.py + Test2273.py + Test2280.py + Test2287.py + Test2341.py + Test2376.py + Test2390.py + Test2393.py + Test2425.py + Test2427.py + Test2440.py + Test2481.py + Test2654.py + Test2711.py + Test2741.py + Test2810.py + Test2824.py + Test2860.py + Test2894.py + TestArcBehavior.py + TestConstraintAngle.py + TestConstraintCoincidence.py + TestConstraintCollinear.py + TestConstraintDistance.py + TestConstraintDistanceBehavior.py + TestConstraintDistanceHorizontal.py + TestConstraintDistanceVertical.py + TestConstraintEqual.py + TestConstraintFixed.py + TestConstraintHorizontal.py + TestConstraintHorizontalValidator.py + TestConstraintLength.py + TestConstraintMiddlePoint.py + TestConstraintParallel.py + TestConstraintPerpendicular.py + TestConstraintRadius.py + TestConstraintRadiusFailure.py + TestConstraintTangent.py + TestConstraintVertical.py + TestCreateArcByCenterStartEnd.py + TestCreateArcByTangentEdge.py + TestCreateArcByThreePoints.py + TestCreateArcChangeType.py + TestCreateCircleByCenterAndPassed.py + TestCreateCircleByThreePoints.py + TestCreateCircleChangeType.py + TestDegeneratedGeometry.py + TestDistanceDump.py + TestDistanceSignedVsUnsigned01.py + TestDistanceSignedVsUnsigned02.py + TestDistanceSignedVsUnsigned03.py + TestDistanceSignedVsUnsigned04.py + TestDistanceSignedVsUnsigned05.py + TestEdgesOrder.py + TestFillet.py + TestFilletAfterFolder.py + TestFilletInteracting.py + TestHighload.py + TestIntersectionChangeEdge.py + TestIntersectionWithCircle.py + TestIntersectionWithLine.py + TestIntersectionWithSpline.py + TestMirror.py + TestMultiRotation.py + TestMultiRotation01.py + TestMultiRotation02.py + TestMultiRotation03.py + TestMultiRotation04.py + TestMultiRotation05.py + TestMultiRotationWithParameter.py + TestMultiTranslation.py + TestPresentation.py + TestProjection.py + TestProjectionIntoResult.py + TestProjectionUpdate.py + TestRectangle.py + TestRemoveSketch.py + TestSignedDistancePointLine.py + TestSignedDistancePointPoint.py + TestSketchDrawer.py + TestSketchPointLine.py + TestSnowflake.py + TestSplit.py + TestSplitLine.py + TestSplitPreview.py + TestTrimArc01.py + TestTrimArc02.py + TestTrimArc03.py + TestTrimArc04.py + TestTrimArc05.py + TestTrimArc06.py + TestTrimArc07.py + TestTrimArc08.py + TestTrimCircle01.py + TestTrimCircle02.py + TestTrimCircle03.py + TestTrimCircle04.py + TestTrimCircle05.py + TestTrimCircleAndArc01.py + TestTrimLine01.py + TestTrimLine02.py + TestTrimLine03.py + TestTrimPreview.py + TestUpdateSketch.py ) if(${SKETCHER_CHANGE_RADIUS_WHEN_MOVE}) ADD_UNIT_TESTS( - TestMovePoint.py - TestMoveLine.py - TestMoveCircle.py - TestMoveArc.py - TestMovementComplex.py + TestMoveArc.py + TestMoveCircle.py + TestMoveLine.py + TestMovementComplex.py + TestMovePoint.py ) -endif() \ No newline at end of file +endif()