Salome HOME
Rectangle correction to have coincidence with point/line selected for the first point...
[modules/shaper.git] / src / ConstructionPlugin / CMakeLists.txt
index 0ddbb7f1b42a4807c3b210520adb9dd1fbe6e4df..2d379a45d6f92a6eee96719d08760d8b5054bcbb 100644 (file)
@@ -8,41 +8,44 @@ SET(PROJECT_HEADERS
     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
-    ModelAPI 
-    GeomAPI 
+    Config
+    ModelAPI
+    GeomAPI
     GeomAlgoAPI
-    ${CAS_KERNEL}
-    ${CAS_SHAPE}
 )
 
 ADD_DEFINITIONS(-DCONSTRUCTIONPLUGIN_EXPORTS)
 ADD_LIBRARY(ConstructionPlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES})
 TARGET_LINK_LIBRARIES(ConstructionPlugin ${PROJECT_LIBRARIES})
 
-INSTALL(TARGETS ConstructionPlugin DESTINATION plugins)
-INSTALL(FILES ${XML_RESOURCES} DESTINATION plugins)
+INSTALL(TARGETS ConstructionPlugin DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})
+INSTALL(FILES ${XML_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
 
 INCLUDE_DIRECTORIES(
+  ../Config
   ../ModelAPI
   ../GeomAPI
   ../GeomAlgoAPI
 )
 
 
-ADD_UNIT_TESTS(TestPointName.py
-              )
+ADD_UNIT_TESTS(TestAxisCreation.py
+               TestPointName.py)