X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FConstructionPlugin%2FCMakeLists.txt;h=8633f1f7bdf1d5adb3a8322a11e002e2ce006007;hb=4d6bb9de0e54f09a9bbacc94a058cb7cd437d535;hp=a5866c2826ce81c2ee2da97fa07a32d9aed81421;hpb=50e082b16ea4f2fd6e94ddb6879112036a0610aa;p=modules%2Fshaper.git diff --git a/src/ConstructionPlugin/CMakeLists.txt b/src/ConstructionPlugin/CMakeLists.txt index a5866c282..8633f1f7b 100644 --- a/src/ConstructionPlugin/CMakeLists.txt +++ b/src/ConstructionPlugin/CMakeLists.txt @@ -1,3 +1,5 @@ +## Copyright (C) 2014-20xx CEA/DEN, EDF R&D + INCLUDE(Common) INCLUDE(UnitTest) @@ -5,27 +7,32 @@ SET(PROJECT_HEADERS ConstructionPlugin.h ConstructionPlugin_Plugin.h ConstructionPlugin_Point.h + ConstructionPlugin_Axis.h + ConstructionPlugin_Plane.h ) SET(PROJECT_SOURCES ConstructionPlugin_Plugin.cpp ConstructionPlugin_Point.cpp + ConstructionPlugin_Axis.cpp + ConstructionPlugin_Plane.cpp ) SET(XML_RESOURCES plugin-Construction.xml point_widget.xml + axis_widget.xml + plane_widget.xml ) SET(PROJECT_LIBRARIES + Config ModelAPI GeomAPI GeomAlgoAPI - ${CAS_KERNEL} - ${CAS_SHAPE} ) -ADD_DEFINITIONS(-DCONSTRUCTIONPLUGIN_EXPORTS ${BOOST_DEFINITIONS}) +ADD_DEFINITIONS(-DCONSTRUCTIONPLUGIN_EXPORTS) ADD_LIBRARY(ConstructionPlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES}) TARGET_LINK_LIBRARIES(ConstructionPlugin ${PROJECT_LIBRARIES}) @@ -33,11 +40,12 @@ INSTALL(TARGETS ConstructionPlugin DESTINATION plugins) INSTALL(FILES ${XML_RESOURCES} DESTINATION plugins) INCLUDE_DIRECTORIES( + ../Config ../ModelAPI ../GeomAPI ../GeomAlgoAPI ) -ADD_UNIT_TESTS(TestPointName.py - ) +ADD_UNIT_TESTS(TestAxisCreation.py + TestPointName.py)