Salome HOME
A fix for the next case:
[modules/shaper.git] / src / GeomValidators / CMakeLists.txt
index 51263163459b727449b3e67f666bd782e0b76c3a..fda2411f42b9727627719ea32702dd588a28a6bd 100644 (file)
@@ -4,27 +4,39 @@ INCLUDE(Common)
 
 SET(PROJECT_HEADERS
     GeomValidators.h
+    GeomValidators_ConstructionComposite.h
+    GeomValidators_Face.h
     GeomValidators_Positive.h
+    GeomValidators_ShapeType.h
+    GeomValidators_Tools.h
 )
 
 SET(PROJECT_SOURCES
+    GeomValidators_ConstructionComposite.cpp
+    GeomValidators_Face.cpp
     GeomValidators_Positive.cpp
+    GeomValidators_ShapeType.cpp
+    GeomValidators_Tools.cpp
 )
 
 SET(PROJECT_LIBRARIES
     ModelAPI 
-    Events 
+    Events
+    GeomAPI
 )
 
 
 
-ADD_DEFINITIONS(-DGEOMVALIDATORS_EXPORTS)
+ADD_DEFINITIONS(-DGEOMVALIDATORS_EXPORTS ${CAS_DEFINITIONS})
 ADD_LIBRARY(GeomValidators SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
 TARGET_LINK_LIBRARIES(GeomValidators ${PROJECT_LIBRARIES})
 
 INCLUDE_DIRECTORIES(
-  ../ModelAPI
-  ../Events
+  ${CAS_INCLUDE_DIRS}
+  ${CMAKE_SOURCE_DIR}/src/ModelAPI
+  ${CMAKE_SOURCE_DIR}/src/Events
+  ${CMAKE_SOURCE_DIR}/src/GeomAPI
+  ${CMAKE_SOURCE_DIR}/src/GeomDataAPI
 )
 
 INSTALL(TARGETS GeomValidators DESTINATION plugins)