Salome HOME
Better management of errors.
[modules/shaper.git] / src / GeomValidators / CMakeLists.txt
index c9768eb39f606c33e5a82ccacd2673ad947869c6..f7f7d29e030018018a58814ad059ba06500ec9da 100644 (file)
@@ -4,10 +4,12 @@ INCLUDE(Common)
 
 SET(PROJECT_HEADERS
     GeomValidators.h
+    GeomValidators_BodyShapes.h
     GeomValidators_BooleanArguments.h
     GeomValidators_ConstructionComposite.h
     GeomValidators_DifferentShapes.h
     GeomValidators_Face.h
+    GeomValidators_FeatureKind.h
     GeomValidators_Finite.h
     GeomValidators_PartitionArguments.h
     GeomValidators_Plugin.h
@@ -16,13 +18,17 @@ SET(PROJECT_HEADERS
     GeomValidators_Tools.h
     GeomValidators_ZeroOffset.h
     GeomValidators_Different.h
+    GeomValidators_IntersectionSelection.h
+    GeomValidators_MinObjectsSelected.h
 )
 
 SET(PROJECT_SOURCES
+    GeomValidators_BodyShapes.cpp
     GeomValidators_BooleanArguments.cpp
     GeomValidators_ConstructionComposite.cpp
     GeomValidators_DifferentShapes.cpp
     GeomValidators_Face.cpp
+    GeomValidators_FeatureKind.cpp
     GeomValidators_Finite.cpp
     GeomValidators_PartitionArguments.cpp
     GeomValidators_Plugin.cpp
@@ -31,26 +37,26 @@ SET(PROJECT_SOURCES
     GeomValidators_Tools.cpp
     GeomValidators_ZeroOffset.cpp
     GeomValidators_Different.cpp
+    GeomValidators_IntersectionSelection.cpp
+    GeomValidators_MinObjectsSelected.cpp
 )
 
 SET(PROJECT_LIBRARIES
-    ModelAPI 
+    ModelAPI
     Events
     GeomAPI
 )
 
-
-
 ADD_DEFINITIONS(-DGEOMVALIDATORS_EXPORTS ${CAS_DEFINITIONS})
 ADD_LIBRARY(GeomValidators SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
 TARGET_LINK_LIBRARIES(GeomValidators ${PROJECT_LIBRARIES})
 
 INCLUDE_DIRECTORIES(
   ${CAS_INCLUDE_DIRS}
-  ${CMAKE_SOURCE_DIR}/src/ModelAPI
-  ${CMAKE_SOURCE_DIR}/src/Events
-  ${CMAKE_SOURCE_DIR}/src/GeomAPI
-  ${CMAKE_SOURCE_DIR}/src/GeomDataAPI
+  ${PROJECT_SOURCE_DIR}/src/ModelAPI
+  ${PROJECT_SOURCE_DIR}/src/Events
+  ${PROJECT_SOURCE_DIR}/src/GeomAPI
+  ${PROJECT_SOURCE_DIR}/src/GeomDataAPI
 )
 
-INSTALL(TARGETS GeomValidators DESTINATION plugins)
+INSTALL(TARGETS GeomValidators DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})