Salome HOME
Filling operation: create a face from a set of edges/wires
[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_BooleanArguments.h
27     GeomValidators_ConstructionComposite.h
28     GeomValidators_DifferentShapes.h
29     GeomValidators_Face.h
30     GeomValidators_FeatureKind.h
31     GeomValidators_Finite.h
32     GeomValidators_PartitionArguments.h
33     GeomValidators_Plugin.h
34     GeomValidators_Positive.h
35     GeomValidators_ShapeType.h
36     GeomValidators_Tools.h
37     GeomValidators_ZeroOffset.h
38     GeomValidators_Different.h
39     GeomValidators_IntersectionSelection.h
40     GeomValidators_MinObjectsSelected.h
41     GeomValidators_ValueOrder.h
42 )
43
44 SET(PROJECT_SOURCES
45     GeomValidators_BodyShapes.cpp
46     GeomValidators_BooleanArguments.cpp
47     GeomValidators_ConstructionComposite.cpp
48     GeomValidators_DifferentShapes.cpp
49     GeomValidators_Face.cpp
50     GeomValidators_FeatureKind.cpp
51     GeomValidators_Finite.cpp
52     GeomValidators_PartitionArguments.cpp
53     GeomValidators_Plugin.cpp
54     GeomValidators_Positive.cpp
55     GeomValidators_ShapeType.cpp
56     GeomValidators_Tools.cpp
57     GeomValidators_ZeroOffset.cpp
58     GeomValidators_Different.cpp
59     GeomValidators_IntersectionSelection.cpp
60     GeomValidators_MinObjectsSelected.cpp
61     GeomValidators_ValueOrder.cpp
62 )
63
64 SET(PROJECT_LIBRARIES
65     ModelAPI
66     Events
67     Config
68     GeomAPI
69 )
70
71 ADD_DEFINITIONS(-DGEOMVALIDATORS_EXPORTS ${CAS_DEFINITIONS})
72 ADD_LIBRARY(GeomValidators SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
73 TARGET_LINK_LIBRARIES(GeomValidators ${PROJECT_LIBRARIES})
74
75 INCLUDE_DIRECTORIES(
76   ${CAS_INCLUDE_DIRS}
77   ${PROJECT_SOURCE_DIR}/src/ModelAPI
78   ${PROJECT_SOURCE_DIR}/src/Config
79   ${PROJECT_SOURCE_DIR}/src/Events
80   ${PROJECT_SOURCE_DIR}/src/GeomAPI
81   ${PROJECT_SOURCE_DIR}/src/GeomDataAPI
82 )
83
84 INSTALL(TARGETS GeomValidators DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})