Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make sub-group features presented correctly in he tree
[modules/shaper.git]
/
src
/
SketchPlugin
/
CMakeLists.txt
diff --git
a/src/SketchPlugin/CMakeLists.txt
b/src/SketchPlugin/CMakeLists.txt
index 1a70246b266ce1014a02ee877d7fead52264952d..d4d4dfc3e7e1f3c25a31dfba94b424967f4b34a0 100644
(file)
--- a/
src/SketchPlugin/CMakeLists.txt
+++ b/
src/SketchPlugin/CMakeLists.txt
@@
-11,13
+11,16
@@
SET(PROJECT_HEADERS
SketchPlugin_SketchEntity.h
SketchPlugin_Line.h
SketchPlugin_Point.h
SketchPlugin_SketchEntity.h
SketchPlugin_Line.h
SketchPlugin_Point.h
+ SketchPlugin_IntersectionPoint.h
SketchPlugin_Circle.h
SketchPlugin_Arc.h
SketchPlugin_Constraint.h
SketchPlugin_ConstraintBase.h
SketchPlugin_ConstraintCoincidence.h
SketchPlugin_Circle.h
SketchPlugin_Arc.h
SketchPlugin_Constraint.h
SketchPlugin_ConstraintBase.h
SketchPlugin_ConstraintCoincidence.h
+ SketchPlugin_ConstraintCollinear.h
SketchPlugin_ConstraintDistance.h
SketchPlugin_ConstraintLength.h
SketchPlugin_ConstraintDistance.h
SketchPlugin_ConstraintLength.h
+ SketchPlugin_ConstraintMiddle.h
SketchPlugin_ConstraintParallel.h
SketchPlugin_ConstraintPerpendicular.h
SketchPlugin_ConstraintRadius.h
SketchPlugin_ConstraintParallel.h
SketchPlugin_ConstraintPerpendicular.h
SketchPlugin_ConstraintRadius.h
@@
-27,9
+30,14
@@
SET(PROJECT_HEADERS
SketchPlugin_ConstraintEqual.h
SketchPlugin_ConstraintTangent.h
SketchPlugin_ConstraintMirror.h
SketchPlugin_ConstraintEqual.h
SketchPlugin_ConstraintTangent.h
SketchPlugin_ConstraintMirror.h
- SketchPlugin_ShapeValidator.h
+ SketchPlugin_ConstraintFillet.h
+ SketchPlugin_ConstraintAngle.h
+ SketchPlugin_MultiRotation.h
+ SketchPlugin_MultiTranslation.h
+ SketchPlugin_ExternalValidator.h
SketchPlugin_Validators.h
SketchPlugin_Validators.h
- SketchPlugin_ResultValidators.h
+ SketchPlugin_Tools.h
+ SketchPlugin_Projection.h
)
SET(PROJECT_SOURCES
)
SET(PROJECT_SOURCES
@@
-39,12
+47,16
@@
SET(PROJECT_SOURCES
SketchPlugin_SketchEntity.cpp
SketchPlugin_Line.cpp
SketchPlugin_Point.cpp
SketchPlugin_SketchEntity.cpp
SketchPlugin_Line.cpp
SketchPlugin_Point.cpp
+ SketchPlugin_IntersectionPoint.cpp
SketchPlugin_Circle.cpp
SketchPlugin_Arc.cpp
SketchPlugin_Circle.cpp
SketchPlugin_Arc.cpp
+ SketchPlugin_Constraint.cpp
SketchPlugin_ConstraintBase.cpp
SketchPlugin_ConstraintCoincidence.cpp
SketchPlugin_ConstraintBase.cpp
SketchPlugin_ConstraintCoincidence.cpp
+ SketchPlugin_ConstraintCollinear.cpp
SketchPlugin_ConstraintDistance.cpp
SketchPlugin_ConstraintLength.cpp
SketchPlugin_ConstraintDistance.cpp
SketchPlugin_ConstraintLength.cpp
+ SketchPlugin_ConstraintMiddle.cpp
SketchPlugin_ConstraintParallel.cpp
SketchPlugin_ConstraintPerpendicular.cpp
SketchPlugin_ConstraintRadius.cpp
SketchPlugin_ConstraintParallel.cpp
SketchPlugin_ConstraintPerpendicular.cpp
SketchPlugin_ConstraintRadius.cpp
@@
-54,9
+66,14
@@
SET(PROJECT_SOURCES
SketchPlugin_ConstraintEqual.cpp
SketchPlugin_ConstraintTangent.cpp
SketchPlugin_ConstraintMirror.cpp
SketchPlugin_ConstraintEqual.cpp
SketchPlugin_ConstraintTangent.cpp
SketchPlugin_ConstraintMirror.cpp
- SketchPlugin_ShapeValidator.cpp
+ SketchPlugin_ConstraintFillet.cpp
+ SketchPlugin_ConstraintAngle.cpp
+ SketchPlugin_MultiRotation.cpp
+ SketchPlugin_MultiTranslation.cpp
+ SketchPlugin_ExternalValidator.cpp
SketchPlugin_Validators.cpp
SketchPlugin_Validators.cpp
- SketchPlugin_ResultValidators.cpp
+ SketchPlugin_Tools.cpp
+ SketchPlugin_Projection.cpp
)
SET(PROJECT_LIBRARIES
)
SET(PROJECT_LIBRARIES
@@
-65,16
+82,21
@@
SET(PROJECT_LIBRARIES
GeomAlgoAPI
ModelAPI
SketcherPrs
GeomAlgoAPI
ModelAPI
SketcherPrs
- ${CAS_KERNEL}
- ${CAS_SHAPE}
+ GeomDataAPI
)
SET(XML_RESOURCES
plugin-Sketch.xml
)
)
SET(XML_RESOURCES
plugin-Sketch.xml
)
+SET(TEXT_RESOURCES
+ SketchPlugin_msg_en.ts
+)
+
+SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES})
+
ADD_DEFINITIONS(-DSKETCHPLUGIN_EXPORTS)
ADD_DEFINITIONS(-DSKETCHPLUGIN_EXPORTS)
-ADD_LIBRARY(SketchPlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES})
+ADD_LIBRARY(SketchPlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES}
${TEXT_RESOURCES}
)
TARGET_LINK_LIBRARIES(SketchPlugin ${PROJECT_LIBRARIES})
INCLUDE_DIRECTORIES(
TARGET_LINK_LIBRARIES(SketchPlugin ${PROJECT_LIBRARIES})
INCLUDE_DIRECTORIES(
@@
-87,12
+109,15
@@
INCLUDE_DIRECTORIES(
../SketcherPrs
)
../SketcherPrs
)
-INSTALL(TARGETS SketchPlugin DESTINATION plugins)
-INSTALL(FILES ${XML_RESOURCES} DESTINATION plugins)
+INSTALL(TARGETS SketchPlugin DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})
+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
TestSketchArcCircle.py
ADD_UNIT_TESTS(TestSketchPointLine.py
TestSketchArcCircle.py
- TestConstraintConcidence.py
+ TestConstraintCoincidence.py
+ # TestConstraintCollinear.py
TestConstraintLength.py
TestConstraintDistance.py
TestConstraintParallel.py
TestConstraintLength.py
TestConstraintDistance.py
TestConstraintParallel.py
@@
-104,5
+129,12
@@
ADD_UNIT_TESTS(TestSketchPointLine.py
TestConstraintEqual.py
TestConstraintTangent.py
TestConstraintMirror.py
TestConstraintEqual.py
TestConstraintTangent.py
TestConstraintMirror.py
+ TestConstraintAngle.py
+ TestConstraintMiddlePoint.py
+ TestMultiRotation.py
+ TestMultiTranslation.py
+ TestFillet.py
+ TestRectangle.py
+ TestProjection.py
TestHighload.py
TestSnowflake.py)
TestHighload.py
TestSnowflake.py)