Salome HOME
ced6fea05a7d4820c01746227c35445591766e87
[modules/shaper.git] / src / GeomValidators / CMakeLists.txt
1 ## Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 INCLUDE(Common)
4
5 SET(PROJECT_HEADERS
6     GeomValidators.h
7     GeomValidators_BooleanArguments.h
8     GeomValidators_ConstructionComposite.h
9     GeomValidators_Face.h
10     GeomValidators_Positive.h
11     GeomValidators_ShapeType.h
12     GeomValidators_Tools.h
13     GeomValidators_ZeroOffset.h
14     GeomValidators_Different.h
15 )
16
17 SET(PROJECT_SOURCES
18     GeomValidators_BooleanArguments.cpp
19     GeomValidators_ConstructionComposite.cpp
20     GeomValidators_Face.cpp
21     GeomValidators_Positive.cpp
22     GeomValidators_ShapeType.cpp
23     GeomValidators_Tools.cpp
24     GeomValidators_ZeroOffset.cpp
25     GeomValidators_Different.cpp
26 )
27
28 SET(PROJECT_LIBRARIES
29     ModelAPI 
30     Events
31     GeomAPI
32 )
33
34
35
36 ADD_DEFINITIONS(-DGEOMVALIDATORS_EXPORTS ${CAS_DEFINITIONS})
37 ADD_LIBRARY(GeomValidators SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
38 TARGET_LINK_LIBRARIES(GeomValidators ${PROJECT_LIBRARIES})
39
40 INCLUDE_DIRECTORIES(
41   ${CAS_INCLUDE_DIRS}
42   ${CMAKE_SOURCE_DIR}/src/ModelAPI
43   ${CMAKE_SOURCE_DIR}/src/Events
44   ${CMAKE_SOURCE_DIR}/src/GeomAPI
45   ${CMAKE_SOURCE_DIR}/src/GeomDataAPI
46 )
47
48 INSTALL(TARGETS GeomValidators DESTINATION plugins)