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
Prepare version 1.2.1: quick fix for iteration 2 release
[modules/shaper.git]
/
src
/
FeaturesPlugin
/
CMakeLists.txt
diff --git
a/src/FeaturesPlugin/CMakeLists.txt
b/src/FeaturesPlugin/CMakeLists.txt
index 6d4cd90fcc66c3e561fcfe5e0b8a150eb830b298..6bd7dcd403cf35baf3c01587efe2831f1a07ddc0 100644
(file)
--- a/
src/FeaturesPlugin/CMakeLists.txt
+++ b/
src/FeaturesPlugin/CMakeLists.txt
@@
-1,33
+1,58
@@
+## Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
+
INCLUDE(Common)
INCLUDE(Common)
+INCLUDE(UnitTest)
SET(PROJECT_HEADERS
FeaturesPlugin.h
FeaturesPlugin_Plugin.h
FeaturesPlugin_Extrusion.h
SET(PROJECT_HEADERS
FeaturesPlugin.h
FeaturesPlugin_Plugin.h
FeaturesPlugin_Extrusion.h
- FeaturesPlugin_Boolean.h
+ FeaturesPlugin_Revolution.h
+ FeaturesPlugin_Boolean.h
+ FeaturesPlugin_Group.h
+ FeaturesPlugin_Placement.h
)
SET(PROJECT_SOURCES
FeaturesPlugin_Plugin.cpp
FeaturesPlugin_Extrusion.cpp
)
SET(PROJECT_SOURCES
FeaturesPlugin_Plugin.cpp
FeaturesPlugin_Extrusion.cpp
- FeaturesPlugin_Boolean.cpp
+ FeaturesPlugin_Revolution.cpp
+ FeaturesPlugin_Boolean.cpp
+ FeaturesPlugin_Group.cpp
+ FeaturesPlugin_Placement.cpp
)
)
-ADD_DEFINITIONS(-DFEATURESPLUGIN_EXPORTS ${BOOST_DEFINITIONS})
-ADD_LIBRARY(FeaturesPlugin SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
-TARGET_LINK_LIBRARIES(FeaturesPlugin ${PROJECT_LIBRARIES} ModelAPI GeomAPI GeomAlgoAPI)
+SET(XML_RESOURCES
+ plugin-Features.xml
+ extrusion_widget.xml
+ revolution_widget.xml
+ boolean_widget.xml
+ group_widget.xml
+ placement_widget.xml
+)
INCLUDE_DIRECTORIES(
../ModelAPI
../GeomAPI
../GeomAlgoAPI
INCLUDE_DIRECTORIES(
../ModelAPI
../GeomAPI
../GeomAlgoAPI
+ ../Events
)
)
-SET(XML_RESOURCES
- plugin-Features.xml
- extrusion_widget.xml
- boolean_widget.xml
+SET(PROJECT_LIBRARIES
+ Events
+ ModelAPI
+ GeomAPI
+ GeomAlgoAPI
)
)
+ADD_DEFINITIONS(-DFEATURESPLUGIN_EXPORTS)
+ADD_LIBRARY(FeaturesPlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES})
+TARGET_LINK_LIBRARIES(FeaturesPlugin ${PROJECT_LIBRARIES})
+
INSTALL(TARGETS FeaturesPlugin DESTINATION plugins)
INSTALL(FILES ${XML_RESOURCES} DESTINATION plugins)
INSTALL(TARGETS FeaturesPlugin DESTINATION plugins)
INSTALL(FILES ${XML_RESOURCES} DESTINATION plugins)
+
+ADD_UNIT_TESTS(TestExtrusion.py
+ TestBoolean.py
+ TestGroup.py
+ TestMultiBoolean.py)