Salome HOME
23034: EDF GEOM: Information after a transformation without copy
[modules/geom.git] / src / GEOMAlgo / CMakeLists.txt
1 # Copyright (C) 2012-2015  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   ${CAS_INCLUDE_DIRS}
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   ${CAS_DEFINITIONS}
34   )
35
36 # libraries to link to
37 SET(_link_LIBRARIES
38   ${CAS_KERNEL} ${CAS_TKBool} ${CAS_TKBO} ${CAS_TKMesh}
39   GEOMbasic GEOMUtils
40   ${KERNEL_SALOMELocalTrace}
41   )
42
43 # --- headers ---
44
45 SET(GEOMAlgo_HEADERS
46   GEOMAlgo_Algo.hxx
47   GEOMAlgo_AlgoTools.hxx
48   GEOMAlgo_BndSphere.hxx
49   GEOMAlgo_BndSphereTree.hxx
50   GEOMAlgo_BoxBndTree.hxx
51   GEOMAlgo_BuilderShape.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_FinderShapeOn2.hxx
63   GEOMAlgo_GetInPlace.hxx
64   GEOMAlgo_GetInPlaceAPI.hxx
65   GEOMAlgo_GlueAnalyser.hxx
66   GEOMAlgo_GlueDetector.hxx
67   GEOMAlgo_Gluer.hxx
68   GEOMAlgo_Gluer2.hxx
69   GEOMAlgo_GluerAlgo.hxx
70   GEOMAlgo_HAlgo.hxx
71   GEOMAlgo_IndexedDataMapOfIntegerShape.hxx
72   GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape.hxx
73   GEOMAlgo_IndexedDataMapOfShapeBndSphere.hxx
74   GEOMAlgo_IndexedDataMapOfShapeBox.hxx
75   GEOMAlgo_IndexedDataMapOfShapeIndexedMapOfShape.hxx
76   GEOMAlgo_IndexedDataMapOfShapeShapeInfo.hxx
77   GEOMAlgo_IndexedDataMapOfShapeState.hxx
78   GEOMAlgo_KindOfBounds.hxx
79   GEOMAlgo_KindOfClosed.hxx
80   GEOMAlgo_KindOfName.hxx
81   GEOMAlgo_KindOfShape.hxx
82   GEOMAlgo_ListIteratorOfListOfCoupleOfShapes.hxx
83   GEOMAlgo_ListIteratorOfListOfPnt.hxx
84   GEOMAlgo_ListOfCoupleOfShapes.hxx
85   GEOMAlgo_ListOfPnt.hxx
86   GEOMAlgo_PassKey.hxx
87   GEOMAlgo_PassKeyMapHasher.hxx
88   GEOMAlgo_PassKeyShape.hxx
89   GEOMAlgo_PassKeyShapeMapHasher.hxx
90   GEOMAlgo_RemoverWebs.hxx
91   GEOMAlgo_ShapeAlgo.hxx
92   GEOMAlgo_ShapeInfo.hxx
93   GEOMAlgo_ShapeInfoFiller.hxx
94   GEOMAlgo_ShapeSolid.hxx
95   GEOMAlgo_ShellSolid.hxx
96   GEOMAlgo_SolidSolid.hxx
97   GEOMAlgo_Splitter.hxx
98   GEOMAlgo_State.hxx
99   GEOMAlgo_StateCollector.hxx
100   GEOMAlgo_SurfaceTools.hxx
101   GEOMAlgo_VertexSolid.hxx
102   GEOMAlgo_WireSolid.hxx
103   )
104
105 # --- sources ---
106
107 SET(GEOMAlgo_SOURCES
108   GEOMAlgo_Algo.cxx
109   GEOMAlgo_AlgoTools.cxx
110   GEOMAlgo_AlgoTools_1.cxx
111   GEOMAlgo_BndSphere.cxx
112   GEOMAlgo_BndSphereTree.cxx
113   GEOMAlgo_BoxBndTree.cxx
114   GEOMAlgo_BuilderShape.cxx
115   GEOMAlgo_Clsf.cxx
116   GEOMAlgo_ClsfBox.cxx
117   GEOMAlgo_ClsfQuad.cxx
118   GEOMAlgo_ClsfSolid.cxx
119   GEOMAlgo_ClsfSurf.cxx
120   GEOMAlgo_CoupleOfShapes.cxx
121   GEOMAlgo_FinderShapeOn2.cxx
122   GEOMAlgo_GetInPlace.cxx
123   GEOMAlgo_GetInPlace_1.cxx
124   GEOMAlgo_GetInPlace_2.cxx
125   GEOMAlgo_GetInPlace_3.cxx
126   GEOMAlgo_GetInPlaceAPI.cxx
127   GEOMAlgo_GlueAnalyser.cxx
128   GEOMAlgo_GlueDetector.cxx
129   GEOMAlgo_Gluer.cxx
130   GEOMAlgo_Gluer2.cxx
131   GEOMAlgo_Gluer2_1.cxx
132   GEOMAlgo_Gluer2_2.cxx
133   GEOMAlgo_Gluer2_3.cxx
134   GEOMAlgo_GluerAlgo.cxx
135   GEOMAlgo_HAlgo.cxx
136   GEOMAlgo_PassKey.cxx
137   GEOMAlgo_PassKeyMapHasher.cxx
138   GEOMAlgo_PassKeyShape.cxx
139   GEOMAlgo_PassKeyShapeMapHasher.cxx
140   GEOMAlgo_RemoverWebs.cxx
141   GEOMAlgo_ShapeAlgo.cxx
142   GEOMAlgo_ShapeInfo.cxx
143   GEOMAlgo_ShapeInfoFiller.cxx
144   GEOMAlgo_ShapeInfoFiller_1.cxx
145   GEOMAlgo_ShapeSolid.cxx
146   GEOMAlgo_ShellSolid.cxx
147   GEOMAlgo_SolidSolid.cxx
148   GEOMAlgo_Splitter.cxx
149   GEOMAlgo_StateCollector.cxx
150   GEOMAlgo_SurfaceTools.cxx
151   GEOMAlgo_VertexSolid.cxx
152   GEOMAlgo_WireSolid.cxx
153   )
154
155 # --- rules ---
156
157 ADD_LIBRARY(GEOMAlgo ${GEOMAlgo_SOURCES})
158 TARGET_LINK_LIBRARIES(GEOMAlgo ${_link_LIBRARIES})
159 INSTALL(TARGETS GEOMAlgo EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
160
161 INSTALL(FILES ${GEOMAlgo_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})
162
163