Salome HOME
added support for all type of edges in KindOfShape method
[modules/geom.git] / src / GEOMAlgo / CMakeLists.txt
1 # Copyright (C) 2012-2022  CEA/DEN, EDF R&D, OPEN CASCADE
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 email : webmaster.salome@opencascade.com
18 #
19
20 # --- options ---
21
22 # additional include directories
23 INCLUDE_DIRECTORIES(
24   ${OpenCASCADE_INCLUDE_DIR}
25   ${KERNEL_INCLUDE_DIRS}
26   ${PROJECT_SOURCE_DIR}/src/GEOMUtils
27   ${PROJECT_SOURCE_DIR}/src/GEOM
28   ${CMAKE_CURRENT_SOURCE_DIR}
29   )
30
31 # additional preprocessor / compiler flags
32 ADD_DEFINITIONS(
33   ${OpenCASCADE_DEFINITIONS}
34   )
35
36 # libraries to link to
37 SET(_link_LIBRARIES
38   ${OpenCASCADE_FoundationClasses_LIBRARIES}
39   ${OpenCASCADE_ModelingAlgorithms_LIBRARIES}
40   GEOMbasic GEOMUtils
41   ${KERNEL_SALOMELocalTrace}
42   )
43
44 # --- headers ---
45
46 SET(GEOMAlgo_HEADERS
47   GEOMAlgo_Algo.hxx
48   GEOMAlgo_AlgoTools.hxx
49   GEOMAlgo_BndSphere.hxx
50   GEOMAlgo_BndSphereTree.hxx
51   GEOMAlgo_BoxBndTree.hxx
52   GEOMAlgo_Clsf.hxx
53   GEOMAlgo_ClsfBox.hxx
54   GEOMAlgo_ClsfQuad.hxx
55   GEOMAlgo_ClsfSolid.hxx
56   GEOMAlgo_ClsfSurf.hxx
57   GEOMAlgo_CoupleOfShapes.hxx
58   GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger.hxx
59   GEOMAlgo_DataMapOfPassKeyInteger.hxx
60   GEOMAlgo_DataMapOfShapeMapOfShape.hxx
61   GEOMAlgo_DataMapOfShapePnt.hxx
62   GEOMAlgo_Extractor.hxx
63   GEOMAlgo_FinderShapeOn.hxx
64   GEOMAlgo_FinderShapeOn1.hxx
65   GEOMAlgo_FinderShapeOn2.hxx
66   GEOMAlgo_FinderShapeOnQuad.hxx
67   GEOMAlgo_GetInPlace.hxx
68   GEOMAlgo_GetInPlaceAPI.hxx
69   GEOMAlgo_GlueAnalyser.hxx
70   GEOMAlgo_GlueDetector.hxx
71   GEOMAlgo_Gluer.hxx
72   GEOMAlgo_Gluer2.hxx
73   GEOMAlgo_GluerAlgo.hxx
74   GEOMAlgo_HAlgo.hxx
75   GEOMAlgo_IndexedDataMapOfIntegerShape.hxx
76   GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape.hxx
77   GEOMAlgo_IndexedDataMapOfShapeBndSphere.hxx
78   GEOMAlgo_IndexedDataMapOfShapeBox.hxx
79   GEOMAlgo_IndexedDataMapOfShapeIndexedMapOfShape.hxx
80   GEOMAlgo_IndexedDataMapOfShapeShapeInfo.hxx
81   GEOMAlgo_IndexedDataMapOfShapeState.hxx
82   GEOMAlgo_KindOfBounds.hxx
83   GEOMAlgo_KindOfClosed.hxx
84   GEOMAlgo_KindOfDef.hxx
85   GEOMAlgo_KindOfName.hxx
86   GEOMAlgo_KindOfPeriod.hxx
87   GEOMAlgo_KindOfShape.hxx
88   GEOMAlgo_ListIteratorOfListOfCoupleOfShapes.hxx
89   GEOMAlgo_ListIteratorOfListOfPnt.hxx
90   GEOMAlgo_ListOfCoupleOfShapes.hxx
91   GEOMAlgo_ListOfPnt.hxx
92   GEOMAlgo_PassKey.hxx
93   GEOMAlgo_PassKeyMapHasher.hxx
94   GEOMAlgo_PassKeyShape.hxx
95   GEOMAlgo_PassKeyShapeMapHasher.hxx
96   GEOMAlgo_RemoverWebs.hxx
97   GEOMAlgo_ShapeAlgo.hxx
98   GEOMAlgo_ShapeInfo.hxx
99   GEOMAlgo_ShapeInfoFiller.hxx
100   GEOMAlgo_ShapeSolid.hxx
101   GEOMAlgo_ShellSolid.hxx
102   GEOMAlgo_SolidSolid.hxx
103   GEOMAlgo_Splitter.hxx
104   GEOMAlgo_State.hxx
105   GEOMAlgo_StateCollector.hxx
106   GEOMAlgo_SurfaceTools.hxx
107   GEOMAlgo_VertexSolid.hxx
108   GEOMAlgo_WireSolid.hxx
109   )
110
111 # --- sources ---
112
113 SET(GEOMAlgo_SOURCES
114   GEOMAlgo_Algo.cxx
115   GEOMAlgo_AlgoTools.cxx
116   GEOMAlgo_AlgoTools_1.cxx
117   GEOMAlgo_BndSphere.cxx
118   GEOMAlgo_BndSphereTree.cxx
119   GEOMAlgo_BoxBndTree.cxx
120   GEOMAlgo_BuilderShape.cxx
121   GEOMAlgo_Clsf.cxx
122   GEOMAlgo_ClsfBox.cxx
123   GEOMAlgo_ClsfQuad.cxx
124   GEOMAlgo_ClsfSolid.cxx
125   GEOMAlgo_ClsfSurf.cxx
126   GEOMAlgo_CoupleOfShapes.cxx
127   GEOMAlgo_FinderShapeOn2.cxx
128   GEOMAlgo_Extractor.cxx
129   GEOMAlgo_GetInPlace.cxx
130   GEOMAlgo_GetInPlace_1.cxx
131   GEOMAlgo_GetInPlace_2.cxx
132   GEOMAlgo_GetInPlace_3.cxx
133   GEOMAlgo_GetInPlaceAPI.cxx
134   GEOMAlgo_GlueAnalyser.cxx
135   GEOMAlgo_GlueDetector.cxx
136   GEOMAlgo_Gluer.cxx
137   GEOMAlgo_Gluer2.cxx
138   GEOMAlgo_Gluer2_1.cxx
139   GEOMAlgo_Gluer2_2.cxx
140   GEOMAlgo_Gluer2_3.cxx
141   GEOMAlgo_GluerAlgo.cxx
142   GEOMAlgo_HAlgo.cxx
143   GEOMAlgo_PassKey.cxx
144   GEOMAlgo_PassKeyMapHasher.cxx
145   GEOMAlgo_PassKeyShape.cxx
146   GEOMAlgo_PassKeyShapeMapHasher.cxx
147   GEOMAlgo_RemoverWebs.cxx
148   GEOMAlgo_ShapeAlgo.cxx
149   GEOMAlgo_ShapeInfo.cxx
150   GEOMAlgo_ShapeInfoFiller.cxx
151   GEOMAlgo_ShapeInfoFiller_1.cxx
152   GEOMAlgo_ShapeSolid.cxx
153   GEOMAlgo_ShellSolid.cxx
154   GEOMAlgo_SolidSolid.cxx
155   GEOMAlgo_Splitter.cxx
156   GEOMAlgo_StateCollector.cxx
157   GEOMAlgo_SurfaceTools.cxx
158   GEOMAlgo_VertexSolid.cxx
159   GEOMAlgo_WireSolid.cxx
160   )
161
162 # --- rules ---
163
164 ADD_LIBRARY(GEOMAlgo ${GEOMAlgo_SOURCES})
165 TARGET_LINK_LIBRARIES(GEOMAlgo ${_link_LIBRARIES})
166 INSTALL(TARGETS GEOMAlgo EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
167
168 INSTALL(FILES ${GEOMAlgo_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})
169
170