Salome HOME
2c40e8cb8a7ba13d0925581c1312ca54724717c2
[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_ConstructionComposite.h
8     GeomValidators_Face.h
9     GeomValidators_Positive.h
10     GeomValidators_ShapeType.h
11     GeomValidators_Tools.h
12     GeomValidators_ZeroOffset.h
13 )
14
15 SET(PROJECT_SOURCES
16     GeomValidators_ConstructionComposite.cpp
17     GeomValidators_Face.cpp
18     GeomValidators_Positive.cpp
19     GeomValidators_ShapeType.cpp
20     GeomValidators_Tools.cpp
21     GeomValidators_ZeroOffset.cpp
22 )
23
24 SET(PROJECT_LIBRARIES
25     ModelAPI 
26     Events
27     GeomAPI
28 )
29
30
31
32 ADD_DEFINITIONS(-DGEOMVALIDATORS_EXPORTS ${CAS_DEFINITIONS})
33 ADD_LIBRARY(GeomValidators SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
34 TARGET_LINK_LIBRARIES(GeomValidators ${PROJECT_LIBRARIES})
35
36 INCLUDE_DIRECTORIES(
37   ${CAS_INCLUDE_DIRS}
38   ${CMAKE_SOURCE_DIR}/src/ModelAPI
39   ${CMAKE_SOURCE_DIR}/src/Events
40   ${CMAKE_SOURCE_DIR}/src/GeomAPI
41   ${CMAKE_SOURCE_DIR}/src/GeomDataAPI
42 )
43
44 INSTALL(TARGETS GeomValidators DESTINATION plugins)