Salome HOME
Move MakeBrick*.py to examples module for availability for testing.
[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_PartitionArguments.h
13     GeomValidators_Plugin.h
14     GeomValidators_Positive.h
15     GeomValidators_ShapeType.h
16     GeomValidators_Tools.h
17     GeomValidators_ZeroOffset.h
18     GeomValidators_Different.h
19 )
20
21 SET(PROJECT_SOURCES
22     GeomValidators_BooleanArguments.cpp
23     GeomValidators_ConstructionComposite.cpp
24     GeomValidators_DifferentShapes.cpp
25     GeomValidators_Face.cpp
26     GeomValidators_Finite.cpp
27     GeomValidators_PartitionArguments.cpp
28     GeomValidators_Plugin.cpp
29     GeomValidators_Positive.cpp
30     GeomValidators_ShapeType.cpp
31     GeomValidators_Tools.cpp
32     GeomValidators_ZeroOffset.cpp
33     GeomValidators_Different.cpp
34 )
35
36 SET(PROJECT_LIBRARIES
37     ModelAPI 
38     Events
39     GeomAPI
40 )
41
42
43
44 ADD_DEFINITIONS(-DGEOMVALIDATORS_EXPORTS ${CAS_DEFINITIONS})
45 ADD_LIBRARY(GeomValidators SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
46 TARGET_LINK_LIBRARIES(GeomValidators ${PROJECT_LIBRARIES})
47
48 INCLUDE_DIRECTORIES(
49   ${CAS_INCLUDE_DIRS}
50   ${CMAKE_SOURCE_DIR}/src/ModelAPI
51   ${CMAKE_SOURCE_DIR}/src/Events
52   ${CMAKE_SOURCE_DIR}/src/GeomAPI
53   ${CMAKE_SOURCE_DIR}/src/GeomDataAPI
54 )
55
56 INSTALL(TARGETS GeomValidators DESTINATION plugins)