Salome HOME
Compilation fix. Validator fix.
[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_BodyShapes.h
8     GeomValidators_BooleanArguments.h
9     GeomValidators_ConstructionComposite.h
10     GeomValidators_DifferentShapes.h
11     GeomValidators_Face.h
12     GeomValidators_FeatureKind.h
13     GeomValidators_Finite.h
14     GeomValidators_PartitionArguments.h
15     GeomValidators_Plugin.h
16     GeomValidators_Positive.h
17     GeomValidators_ShapeType.h
18     GeomValidators_Tools.h
19     GeomValidators_ZeroOffset.h
20     GeomValidators_Different.h
21     GeomValidators_BooleanSelection.h
22     GeomValidators_IntersectionSelection.h
23 )
24
25 SET(PROJECT_SOURCES
26     GeomValidators_BodyShapes.cpp
27     GeomValidators_BooleanArguments.cpp
28     GeomValidators_ConstructionComposite.cpp
29     GeomValidators_DifferentShapes.cpp
30     GeomValidators_Face.cpp
31     GeomValidators_FeatureKind.cpp
32     GeomValidators_Finite.cpp
33     GeomValidators_PartitionArguments.cpp
34     GeomValidators_Plugin.cpp
35     GeomValidators_Positive.cpp
36     GeomValidators_ShapeType.cpp
37     GeomValidators_Tools.cpp
38     GeomValidators_ZeroOffset.cpp
39     GeomValidators_Different.cpp
40     GeomValidators_BooleanSelection.cpp
41     GeomValidators_IntersectionSelection.cpp
42 )
43
44 SET(PROJECT_LIBRARIES
45     ModelAPI
46     Events
47     GeomAPI
48 )
49
50 ADD_DEFINITIONS(-DGEOMVALIDATORS_EXPORTS ${CAS_DEFINITIONS})
51 ADD_LIBRARY(GeomValidators SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
52 TARGET_LINK_LIBRARIES(GeomValidators ${PROJECT_LIBRARIES})
53
54 INCLUDE_DIRECTORIES(
55   ${CAS_INCLUDE_DIRS}
56   ${PROJECT_SOURCE_DIR}/src/ModelAPI
57   ${PROJECT_SOURCE_DIR}/src/Events
58   ${PROJECT_SOURCE_DIR}/src/GeomAPI
59   ${PROJECT_SOURCE_DIR}/src/GeomDataAPI
60 )
61
62 INSTALL(TARGETS GeomValidators DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})