Salome HOME
3.6 Separation of Boolean operations
[modules/shaper.git] / src / GeomValidators / CMakeLists.txt
1 ## Copyright (C) 2014-2017  CEA/DEN, EDF R&D
2 ##
3 ## This library is free software; you can redistribute it and/or
4 ## modify it under the terms of the GNU Lesser General Public
5 ## License as published by the Free Software Foundation; either
6 ## version 2.1 of the License, or (at your option) any later version.
7 ##
8 ## This library is distributed in the hope that it will be useful,
9 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
10 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 ## Lesser General Public License for more details.
12 ##
13 ## You should have received a copy of the GNU Lesser General Public
14 ## License along with this library; if not, write to the Free Software
15 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16 ##
17 ## See http:##www.salome-platform.org/ or
18 ## email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
19 ##
20
21 INCLUDE(Common)
22
23 SET(PROJECT_HEADERS
24     GeomValidators.h
25     GeomValidators_BodyShapes.h
26     GeomValidators_ConstructionComposite.h
27     GeomValidators_DifferentShapes.h
28     GeomValidators_Face.h
29     GeomValidators_FeatureKind.h
30     GeomValidators_Finite.h
31     GeomValidators_PartitionArguments.h
32     GeomValidators_Plugin.h
33     GeomValidators_Positive.h
34     GeomValidators_ShapeType.h
35     GeomValidators_Tools.h
36     GeomValidators_ZeroOffset.h
37     GeomValidators_Different.h
38     GeomValidators_IntersectionSelection.h
39     GeomValidators_MinObjectsSelected.h
40     GeomValidators_ValueOrder.h
41 )
42
43 SET(PROJECT_SOURCES
44     GeomValidators_BodyShapes.cpp
45     GeomValidators_ConstructionComposite.cpp
46     GeomValidators_DifferentShapes.cpp
47     GeomValidators_Face.cpp
48     GeomValidators_FeatureKind.cpp
49     GeomValidators_Finite.cpp
50     GeomValidators_PartitionArguments.cpp
51     GeomValidators_Plugin.cpp
52     GeomValidators_Positive.cpp
53     GeomValidators_ShapeType.cpp
54     GeomValidators_Tools.cpp
55     GeomValidators_ZeroOffset.cpp
56     GeomValidators_Different.cpp
57     GeomValidators_IntersectionSelection.cpp
58     GeomValidators_MinObjectsSelected.cpp
59     GeomValidators_ValueOrder.cpp
60 )
61
62 SET(PROJECT_LIBRARIES
63     ModelAPI
64     Events
65     Config
66     GeomAPI
67 )
68
69 ADD_DEFINITIONS(-DGEOMVALIDATORS_EXPORTS ${CAS_DEFINITIONS})
70 ADD_LIBRARY(GeomValidators SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
71 TARGET_LINK_LIBRARIES(GeomValidators ${PROJECT_LIBRARIES})
72
73 INCLUDE_DIRECTORIES(
74   ${CAS_INCLUDE_DIRS}
75   ${PROJECT_SOURCE_DIR}/src/ModelAPI
76   ${PROJECT_SOURCE_DIR}/src/Config
77   ${PROJECT_SOURCE_DIR}/src/Events
78   ${PROJECT_SOURCE_DIR}/src/GeomAPI
79   ${PROJECT_SOURCE_DIR}/src/GeomDataAPI
80 )
81
82 INSTALL(TARGETS GeomValidators DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})