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
#1707 Fatal error when Recover box
[modules/shaper.git]
/
src
/
FeaturesPlugin
/
CMakeLists.txt
diff --git
a/src/FeaturesPlugin/CMakeLists.txt
b/src/FeaturesPlugin/CMakeLists.txt
index a29526870e0e828d2315efb90fc1425ce2962178..61eddab92624b71461d38670fe47ae8a9c6f3efb 100644
(file)
--- a/
src/FeaturesPlugin/CMakeLists.txt
+++ b/
src/FeaturesPlugin/CMakeLists.txt
@@
-7,33
+7,55
@@
SET(PROJECT_HEADERS
FeaturesPlugin.h
FeaturesPlugin_Plugin.h
FeaturesPlugin_Extrusion.h
FeaturesPlugin.h
FeaturesPlugin_Plugin.h
FeaturesPlugin_Extrusion.h
+ FeaturesPlugin_Recover.h
FeaturesPlugin_Revolution.h
FeaturesPlugin_Rotation.h
FeaturesPlugin_Revolution.h
FeaturesPlugin_Rotation.h
- FeaturesPlugin_
Movement
.h
+ FeaturesPlugin_
Translation
.h
FeaturesPlugin_Boolean.h
FeaturesPlugin_Group.h
FeaturesPlugin_Boolean.h
FeaturesPlugin_Group.h
+ FeaturesPlugin_Intersection.h
+ FeaturesPlugin_Partition.h
+ FeaturesPlugin_Pipe.h
FeaturesPlugin_Placement.h
FeaturesPlugin_CompositeBoolean.h
FeaturesPlugin_Placement.h
FeaturesPlugin_CompositeBoolean.h
+ FeaturesPlugin_CompositeSketch.h
FeaturesPlugin_ExtrusionBoolean.h
FeaturesPlugin_ExtrusionCut.h
FeaturesPlugin_ExtrusionFuse.h
FeaturesPlugin_RevolutionBoolean.h
FeaturesPlugin_RevolutionCut.h
FeaturesPlugin_RevolutionFuse.h
FeaturesPlugin_ExtrusionBoolean.h
FeaturesPlugin_ExtrusionCut.h
FeaturesPlugin_ExtrusionFuse.h
FeaturesPlugin_RevolutionBoolean.h
FeaturesPlugin_RevolutionCut.h
FeaturesPlugin_RevolutionFuse.h
+ FeaturesPlugin_Union.h
+ FeaturesPlugin_ValidatorTransform.h
+ FeaturesPlugin_Validators.h
+ FeaturesPlugin_RemoveSubShapes.h
)
SET(PROJECT_SOURCES
FeaturesPlugin_Plugin.cpp
FeaturesPlugin_Extrusion.cpp
)
SET(PROJECT_SOURCES
FeaturesPlugin_Plugin.cpp
FeaturesPlugin_Extrusion.cpp
+ FeaturesPlugin_Recover.cpp
FeaturesPlugin_Revolution.cpp
FeaturesPlugin_Rotation.cpp
FeaturesPlugin_Revolution.cpp
FeaturesPlugin_Rotation.cpp
- FeaturesPlugin_
Movement
.cpp
+ FeaturesPlugin_
Translation
.cpp
FeaturesPlugin_Boolean.cpp
FeaturesPlugin_Group.cpp
FeaturesPlugin_Boolean.cpp
FeaturesPlugin_Group.cpp
+ FeaturesPlugin_Intersection.cpp
+ FeaturesPlugin_Partition.cpp
+ FeaturesPlugin_Pipe.cpp
FeaturesPlugin_Placement.cpp
FeaturesPlugin_CompositeBoolean.cpp
FeaturesPlugin_Placement.cpp
FeaturesPlugin_CompositeBoolean.cpp
+ FeaturesPlugin_CompositeSketch.cpp
FeaturesPlugin_ExtrusionBoolean.cpp
FeaturesPlugin_ExtrusionBoolean.cpp
+ FeaturesPlugin_ExtrusionCut.cpp
+ FeaturesPlugin_ExtrusionFuse.cpp
FeaturesPlugin_RevolutionBoolean.cpp
FeaturesPlugin_RevolutionBoolean.cpp
+ FeaturesPlugin_RevolutionCut.cpp
+ FeaturesPlugin_RevolutionFuse.cpp
+ FeaturesPlugin_Union.cpp
+ FeaturesPlugin_ValidatorTransform.cpp
+ FeaturesPlugin_Validators.cpp
+ FeaturesPlugin_RemoveSubShapes.cpp
)
SET(XML_RESOURCES
)
SET(XML_RESOURCES
@@
-45,35
+67,70
@@
SET(XML_RESOURCES
revolutioncut_widget.xml
revolutionfuse_widget.xml
rotation_widget.xml
revolutioncut_widget.xml
revolutionfuse_widget.xml
rotation_widget.xml
-
movement
_widget.xml
+
translation
_widget.xml
boolean_widget.xml
group_widget.xml
boolean_widget.xml
group_widget.xml
+ recover_widget.xml
+ partition_widget.xml
placement_widget.xml
placement_widget.xml
+ intersection_widget.xml
+ pipe_widget.xml
+ remove_subshapes_widget.xml
+ union_widget.xml
)
)
+SET(TEXT_RESOURCES
+ FeaturesPlugin_msg_en.ts
+)
+
+SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES})
+
+
INCLUDE_DIRECTORIES(
../ModelAPI
../GeomAPI
../GeomAlgoAPI
INCLUDE_DIRECTORIES(
../ModelAPI
../GeomAPI
../GeomAlgoAPI
+ ../GeomValidators
../Events
)
SET(PROJECT_LIBRARIES
Events
../Events
)
SET(PROJECT_LIBRARIES
Events
- ModelAPI
- GeomAPI
+ ModelAPI
+ GeomAPI
GeomAlgoAPI
GeomAlgoAPI
+ GeomValidators
)
ADD_DEFINITIONS(-DFEATURESPLUGIN_EXPORTS)
)
ADD_DEFINITIONS(-DFEATURESPLUGIN_EXPORTS)
-ADD_LIBRARY(FeaturesPlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES})
+ADD_LIBRARY(FeaturesPlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES}
${TEXT_RESOURCES}
)
TARGET_LINK_LIBRARIES(FeaturesPlugin ${PROJECT_LIBRARIES})
TARGET_LINK_LIBRARIES(FeaturesPlugin ${PROJECT_LIBRARIES})
-INSTALL(TARGETS FeaturesPlugin DESTINATION plugins)
-INSTALL(FILES ${XML_RESOURCES} DESTINATION plugins)
+INSTALL(TARGETS FeaturesPlugin DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})
+INSTALL(FILES ${XML_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
+INSTALL(DIRECTORY icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Features)
+INSTALL(FILES ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
ADD_UNIT_TESTS(TestExtrusion.py
ADD_UNIT_TESTS(TestExtrusion.py
- TestBoolean.py
+ TestExtrusionCut.py
+ TestExtrusionFuse.py
TestRevolution.py
TestRevolution.py
+ TestRevolutionCut.py
+ TestRevolutionFuse.py
+ TestCompositeFeaturesOnCompSolids.py
+ TestPartition.py
+ TestPlacement.py
+ TestTranslation.py
+ TestRotation.py
+ TestBoolean.py
+ TestBooleanCompSolids.py
+ TestBooleanSmash.py
+ TestBooleanFill.py
+ TestMultiBoolean.py
+ TestSerialBoolean.py
TestGroup.py
TestGroup.py
- TestMultiBoolean.py)
+ TestIntersection.py
+ TestUnion.py
+ TestRemoveSubShapes.py
+ TestPipe.py
+ TestRecover.py)