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