Salome HOME
Merge branch 'master' into Dev_1.1.0
[modules/shaper.git] / src / SketchPlugin / CMakeLists.txt
index 16cbcccde16ec681804ff67ecbb44bd78d80168a..d6a7d77ac49a5281895e779b9bdd02dc6aa26e6f 100644 (file)
@@ -8,6 +8,7 @@ SET(PROJECT_HEADERS
     SketchPlugin_Feature.h
     SketchPlugin_Plugin.h
     SketchPlugin_Sketch.h
+    SketchPlugin_SketchEntity.h
     SketchPlugin_Line.h
     SketchPlugin_Point.h
     SketchPlugin_Circle.h
@@ -21,14 +22,21 @@ SET(PROJECT_HEADERS
     SketchPlugin_ConstraintPerpendicular.h
     SketchPlugin_ConstraintRadius.h
     SketchPlugin_ConstraintRigid.h
+    SketchPlugin_ConstraintHorizontal.h
+    SketchPlugin_ConstraintVertical.h
+    SketchPlugin_ConstraintEqual.h
+    SketchPlugin_ConstraintTangent.h
+    SketchPlugin_ConstraintMirror.h
+    SketchPlugin_ConstraintFillet.h
+    SketchPlugin_ShapeValidator.h
     SketchPlugin_Validators.h
-    SketchPlugin_ResultValidators.h 
 )
 
 SET(PROJECT_SOURCES
     SketchPlugin_Feature.cpp
     SketchPlugin_Plugin.cpp
     SketchPlugin_Sketch.cpp
+    SketchPlugin_SketchEntity.cpp
     SketchPlugin_Line.cpp
     SketchPlugin_Point.cpp
     SketchPlugin_Circle.cpp
@@ -41,15 +49,24 @@ SET(PROJECT_SOURCES
     SketchPlugin_ConstraintPerpendicular.cpp
     SketchPlugin_ConstraintRadius.cpp
     SketchPlugin_ConstraintRigid.cpp
+    SketchPlugin_ConstraintHorizontal.cpp
+    SketchPlugin_ConstraintVertical.cpp
+    SketchPlugin_ConstraintEqual.cpp
+    SketchPlugin_ConstraintTangent.cpp
+    SketchPlugin_ConstraintMirror.cpp
+    SketchPlugin_ConstraintFillet.cpp
+    SketchPlugin_ShapeValidator.cpp
     SketchPlugin_Validators.cpp
-    SketchPlugin_ResultValidators.cpp
 )
 
 SET(PROJECT_LIBRARIES
     Config
     GeomAPI
     GeomAlgoAPI
+    GeomValidators
     ModelAPI
+    SketcherPrs
+    GeomDataAPI
     ${CAS_KERNEL}
     ${CAS_SHAPE}
 )
@@ -64,10 +81,13 @@ TARGET_LINK_LIBRARIES(SketchPlugin ${PROJECT_LIBRARIES})
 
 INCLUDE_DIRECTORIES(
   ../Config
+  ../Events
   ../ModelAPI
   ../GeomAPI
   ../GeomAlgoAPI
   ../GeomDataAPI
+  ../GeomValidators
+  ../SketcherPrs
 )
 
 INSTALL(TARGETS SketchPlugin DESTINATION plugins)
@@ -82,5 +102,10 @@ ADD_UNIT_TESTS(TestSketchPointLine.py
                TestConstraintPerpendicular.py
                TestConstraintRadius.py
                TestConstraintRigid.py
+               TestConstraintHorizontal.py
+               TestConstraintVertical.py
+               TestConstraintEqual.py
+               TestConstraintTangent.py
+               TestConstraintMirror.py
                TestHighload.py
                TestSnowflake.py)