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