]> SALOME platform Git repositories - modules/shaper.git/blob - src/GeomValidators/CMakeLists.txt
Salome HOME
ceb12b40d975710bb152119ea0c6fdccd7768d59
[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_Finite.h
13     GeomValidators_PartitionArguments.h
14     GeomValidators_Plugin.h
15     GeomValidators_Positive.h
16     GeomValidators_ShapeType.h
17     GeomValidators_Tools.h
18     GeomValidators_ZeroOffset.h
19     GeomValidators_Different.h
20     GeomValidators_BooleanSelection.h
21 )
22
23 SET(PROJECT_SOURCES
24     GeomValidators_BodyShapes.cpp
25     GeomValidators_BooleanArguments.cpp
26     GeomValidators_ConstructionComposite.cpp
27     GeomValidators_DifferentShapes.cpp
28     GeomValidators_Face.cpp
29     GeomValidators_Finite.cpp
30     GeomValidators_PartitionArguments.cpp
31     GeomValidators_Plugin.cpp
32     GeomValidators_Positive.cpp
33     GeomValidators_ShapeType.cpp
34     GeomValidators_Tools.cpp
35     GeomValidators_ZeroOffset.cpp
36     GeomValidators_Different.cpp
37     GeomValidators_BooleanSelection.cpp
38 )
39
40 SET(PROJECT_LIBRARIES
41     ModelAPI
42     Events
43     GeomAPI
44 )
45
46 ADD_DEFINITIONS(-DGEOMVALIDATORS_EXPORTS ${CAS_DEFINITIONS})
47 ADD_LIBRARY(GeomValidators SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
48 TARGET_LINK_LIBRARIES(GeomValidators ${PROJECT_LIBRARIES})
49
50 INCLUDE_DIRECTORIES(
51   ${CAS_INCLUDE_DIRS}
52   ${PROJECT_SOURCE_DIR}/src/ModelAPI
53   ${PROJECT_SOURCE_DIR}/src/Events
54   ${PROJECT_SOURCE_DIR}/src/GeomAPI
55   ${PROJECT_SOURCE_DIR}/src/GeomDataAPI
56 )
57
58 INSTALL(TARGETS GeomValidators DESTINATION plugins)