Salome HOME
db014d5c98c4c04e4aa3e939c623910a3ed33e54
[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_IntersectionSelection.h
22     GeomValidators_MinObjectsSelected.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_IntersectionSelection.cpp
41     GeomValidators_MinObjectsSelected.cpp
42 )
43
44 SET(PROJECT_LIBRARIES
45     ModelAPI
46     Events
47     Config
48     GeomAPI
49 )
50
51 ADD_DEFINITIONS(-DGEOMVALIDATORS_EXPORTS ${CAS_DEFINITIONS})
52 ADD_LIBRARY(GeomValidators SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
53 TARGET_LINK_LIBRARIES(GeomValidators ${PROJECT_LIBRARIES})
54
55 INCLUDE_DIRECTORIES(
56   ${CAS_INCLUDE_DIRS}
57   ${PROJECT_SOURCE_DIR}/src/ModelAPI
58   ${PROJECT_SOURCE_DIR}/src/Config
59   ${PROJECT_SOURCE_DIR}/src/Events
60   ${PROJECT_SOURCE_DIR}/src/GeomAPI
61   ${PROJECT_SOURCE_DIR}/src/GeomDataAPI
62 )
63
64 INSTALL(TARGETS GeomValidators DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})