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
Merge branch 'master' of newgeom:newgeom.git
[modules/shaper.git]
/
src
/
ConstructionPlugin
/
CMakeLists.txt
diff --git
a/src/ConstructionPlugin/CMakeLists.txt
b/src/ConstructionPlugin/CMakeLists.txt
index dc32be9876c22203738ac932552f1a2d68671448..bbcc6cfdcf2c28913f2a286352c7569026061715 100644
(file)
--- a/
src/ConstructionPlugin/CMakeLists.txt
+++ b/
src/ConstructionPlugin/CMakeLists.txt
@@
-1,33
+1,35
@@
INCLUDE(Common)
INCLUDE(Common)
+INCLUDE(UnitTest)
SET(PROJECT_HEADERS
ConstructionPlugin.h
ConstructionPlugin_Plugin.h
ConstructionPlugin_Point.h
SET(PROJECT_HEADERS
ConstructionPlugin.h
ConstructionPlugin_Plugin.h
ConstructionPlugin_Point.h
- ConstructionPlugin_Extrusion.h
)
SET(PROJECT_SOURCES
ConstructionPlugin_Plugin.cpp
ConstructionPlugin_Point.cpp
)
SET(PROJECT_SOURCES
ConstructionPlugin_Plugin.cpp
ConstructionPlugin_Point.cpp
- ConstructionPlugin_Extrusion.cpp
+)
+
+SET(XML_RESOURCES
+ plugin-Construction.xml
+ point_widget.xml
)
ADD_DEFINITIONS(-DCONSTRUCTIONPLUGIN_EXPORTS ${BOOST_DEFINITIONS})
)
ADD_DEFINITIONS(-DCONSTRUCTIONPLUGIN_EXPORTS ${BOOST_DEFINITIONS})
-ADD_LIBRARY(ConstructionPlugin SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
+ADD_LIBRARY(ConstructionPlugin SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS}
${XML_RESOURCES}
)
TARGET_LINK_LIBRARIES(ConstructionPlugin ${PROJECT_LIBRARIES} ModelAPI GeomAPI GeomAlgoAPI)
TARGET_LINK_LIBRARIES(ConstructionPlugin ${PROJECT_LIBRARIES} ModelAPI GeomAPI GeomAlgoAPI)
+INSTALL(TARGETS ConstructionPlugin DESTINATION plugins)
+INSTALL(FILES ${XML_RESOURCES} DESTINATION plugins)
+
INCLUDE_DIRECTORIES(
../ModelAPI
../GeomAPI
../GeomAlgoAPI
)
INCLUDE_DIRECTORIES(
../ModelAPI
../GeomAPI
../GeomAlgoAPI
)
-SET(XML_RESOURCES
- plugin-Construction.xml
- point_widget.xml
- extrusion_widget.xml
-)
-INSTALL(TARGETS ConstructionPlugin DESTINATION plugins)
-
INSTALL(FILES ${XML_RESOURCES} DESTINATION plugins
)
+ADD_UNIT_TESTS(TestPointName.py
+
)