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