Salome HOME
ILMAB project. DS for the Field on Geometry implemented
[modules/geom.git] / src / GEOMImpl / 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   ${PTHREAD_INCLUDE_DIR}
26   ${KERNEL_INCLUDE_DIRS}
27   ${PYTHON_INCLUDE_DIRS}
28   ${PROJECT_SOURCE_DIR}/src/ShHealOper
29   ${PROJECT_SOURCE_DIR}/src/GEOM         
30   ${PROJECT_SOURCE_DIR}/src/BlockFix     
31   ${PROJECT_SOURCE_DIR}/src/GEOMAlgo     
32   ${PROJECT_SOURCE_DIR}/src/GEOMUtils 
33   ${PROJECT_SOURCE_DIR}/src/SKETCHER     
34   ${PROJECT_SOURCE_DIR}/src/ARCHIMEDE 
35   ${CMAKE_CURRENT_SOURCE_DIR}
36   )
37
38 # additional preprocessor / compiler flags
39 ADD_DEFINITIONS(
40   ${CAS_DEFINITIONS}
41   ${PYTHON_DEFINITIONS}
42   )
43
44 # libraries to link to
45 SET(_link_LIBRARIES
46   ${CAS_TKFeat}
47   ${CAS_TKFillet}
48   ${PYTHON_LIBRARIES}
49   ShHealOper GEOMbasic BlockFix GEOMAlgo GEOMUtils GEOMSketcher GEOMArchimede
50   ${KERNEL_SALOMELocalTrace}
51   )
52
53 # --- headers ---
54
55 SET(GEOMImpl_HEADERS
56   GEOMImpl_Gen.hxx
57   GEOMImpl_IBasicOperations.hxx
58   GEOMImpl_ITransformOperations.hxx
59   GEOMImpl_IHealingOperations.hxx
60   GEOMImpl_I3DPrimOperations.hxx
61   GEOMImpl_IShapesOperations.hxx
62   GEOMImpl_IBlocksOperations.hxx
63   GEOMImpl_IBooleanOperations.hxx
64   GEOMImpl_ICurvesOperations.hxx
65   GEOMImpl_ILocalOperations.hxx
66   GEOMImpl_IInsertOperations.hxx
67   GEOMImpl_IMeasureOperations.hxx
68   GEOMImpl_IGroupOperations.hxx
69   GEOMImpl_IFieldOperations.hxx
70   GEOMImpl_IGlue.hxx
71   GEOMImpl_PointDriver.hxx
72   GEOMImpl_IPoint.hxx
73   GEOMImpl_IPolyline.hxx
74   GEOMImpl_ICircle.hxx
75   GEOMImpl_ISpline.hxx
76   GEOMImpl_IEllipse.hxx
77   GEOMImpl_IFillet.hxx
78   GEOMImpl_IFillet1d.hxx
79   GEOMImpl_IFillet2d.hxx
80   GEOMImpl_IChamfer.hxx
81   GEOMImpl_ICopy.hxx
82   GEOMImpl_IArchimede.hxx
83   GEOMImpl_IArc.hxx
84   GEOMImpl_ISketcher.hxx
85   GEOMImpl_I3DSketcher.hxx
86   GEOMImpl_IVector.hxx
87   GEOMImpl_IDisk.hxx
88   GEOMImpl_IFace.hxx
89   GEOMImpl_ILine.hxx
90   GEOMImpl_IPlane.hxx
91   GEOMImpl_IMarker.hxx
92   GEOMImpl_ITranslate.hxx
93   GEOMImpl_IMirror.hxx
94   GEOMImpl_IOffset.hxx
95   GEOMImpl_IScale.hxx
96   GEOMImpl_IRotate.hxx
97   GEOMImpl_IPosition.hxx
98   GEOMImpl_IHealing.hxx
99   GEOMImpl_IImportExport.hxx
100   GEOMImpl_IBox.hxx
101   GEOMImpl_IBlocks.hxx
102   GEOMImpl_IBlockTrsf.hxx
103   GEOMImpl_IBoolean.hxx
104   GEOMImpl_ICylinder.hxx
105   GEOMImpl_ICone.hxx
106   GEOMImpl_ISphere.hxx
107   GEOMImpl_ITorus.hxx
108   GEOMImpl_IPrism.hxx
109   GEOMImpl_IPipe.hxx
110   GEOMImpl_IPipePath.hxx
111   GEOMImpl_IRevolution.hxx
112   GEOMImpl_IMeasure.hxx
113   GEOMImpl_IShapes.hxx
114   GEOMImpl_IFilling.hxx
115   GEOMImpl_IThruSections.hxx
116   GEOMImpl_IPartition.hxx
117   GEOMImpl_IPipeDiffSect.hxx
118   GEOMImpl_IPipeShellSect.hxx
119   GEOMImpl_IPipeBiNormal.hxx
120   GEOMImpl_ICurveParametric.hxx
121   GEOMImpl_VectorDriver.hxx
122   GEOMImpl_LineDriver.hxx
123   GEOMImpl_DiskDriver.hxx
124   GEOMImpl_FaceDriver.hxx
125   GEOMImpl_PlaneDriver.hxx
126   GEOMImpl_MarkerDriver.hxx
127   GEOMImpl_TranslateDriver.hxx
128   GEOMImpl_MirrorDriver.hxx
129   GEOMImpl_ProjectionDriver.hxx
130   GEOMImpl_OffsetDriver.hxx
131   GEOMImpl_ScaleDriver.hxx
132   GEOMImpl_PositionDriver.hxx
133   GEOMImpl_BoxDriver.hxx
134   GEOMImpl_ConeDriver.hxx
135   GEOMImpl_CylinderDriver.hxx
136   GEOMImpl_SphereDriver.hxx
137   GEOMImpl_TorusDriver.hxx
138   GEOMImpl_PrismDriver.hxx
139   GEOMImpl_PipeDriver.hxx
140   GEOMImpl_PipePathDriver.hxx
141   GEOMImpl_ThruSectionsDriver.hxx
142   GEOMImpl_RevolutionDriver.hxx
143   GEOMImpl_ShapeDriver.hxx
144   GEOMImpl_BlockDriver.hxx
145   GEOMImpl_Block6Explorer.hxx
146   GEOMImpl_MeasureDriver.hxx
147   GEOMImpl_PolylineDriver.hxx
148   GEOMImpl_CircleDriver.hxx
149   GEOMImpl_EllipseDriver.hxx
150   GEOMImpl_ArcDriver.hxx
151   GEOMImpl_SplineDriver.hxx
152   GEOMImpl_SketcherDriver.hxx
153   GEOMImpl_3DSketcherDriver.hxx
154   GEOMImpl_FilletDriver.hxx
155   GEOMImpl_Fillet1d.hxx
156   GEOMImpl_Fillet1dDriver.hxx
157   GEOMImpl_Fillet2dDriver.hxx
158   GEOMImpl_ChamferDriver.hxx
159   GEOMImpl_BooleanDriver.hxx
160   GEOMImpl_PartitionDriver.hxx
161   GEOMImpl_CopyDriver.hxx
162   GEOMImpl_ExportDriver.hxx
163   GEOMImpl_ImportDriver.hxx
164   GEOMImpl_RotateDriver.hxx
165   GEOMImpl_ArchimedeDriver.hxx
166   GEOMImpl_HealingDriver.hxx
167   GEOMImpl_FillingDriver.hxx
168   GEOMImpl_GlueDriver.hxx
169   GEOMImpl_Types.hxx
170   GEOM_GEOMImpl.hxx
171   )
172 # --- sources ---
173
174 SET(GEOMImpl_SOURCES
175   GEOMImpl_IBasicOperations.cxx
176   GEOMImpl_ITransformOperations.cxx
177   GEOMImpl_IHealingOperations.cxx
178   GEOMImpl_I3DPrimOperations.cxx
179   GEOMImpl_IShapesOperations.cxx
180   GEOMImpl_IBlocksOperations.cxx
181   GEOMImpl_IBooleanOperations.cxx
182   GEOMImpl_ICurvesOperations.cxx
183   GEOMImpl_ILocalOperations.cxx
184   GEOMImpl_IInsertOperations.cxx
185   GEOMImpl_IMeasureOperations.cxx
186   GEOMImpl_IGroupOperations.cxx
187   GEOMImpl_IFieldOperations.cxx
188   GEOMImpl_Gen.cxx
189   GEOMImpl_PointDriver.cxx
190   GEOMImpl_VectorDriver.cxx
191   GEOMImpl_LineDriver.cxx
192   GEOMImpl_PlaneDriver.cxx
193   GEOMImpl_MarkerDriver.cxx
194   GEOMImpl_TranslateDriver.cxx
195   GEOMImpl_MirrorDriver.cxx
196   GEOMImpl_ProjectionDriver.cxx
197   GEOMImpl_OffsetDriver.cxx
198   GEOMImpl_ScaleDriver.cxx
199   GEOMImpl_PositionDriver.cxx
200   GEOMImpl_BoxDriver.cxx
201   GEOMImpl_FaceDriver.cxx
202   GEOMImpl_DiskDriver.cxx
203   GEOMImpl_ConeDriver.cxx
204   GEOMImpl_CylinderDriver.cxx
205   GEOMImpl_SphereDriver.cxx
206   GEOMImpl_TorusDriver.cxx
207   GEOMImpl_PrismDriver.cxx
208   GEOMImpl_PipeDriver.cxx
209   GEOMImpl_PipePathDriver.cxx
210   GEOMImpl_ThruSectionsDriver.cxx
211   GEOMImpl_RevolutionDriver.cxx
212   GEOMImpl_ShapeDriver.cxx
213   GEOMImpl_BlockDriver.cxx
214   GEOMImpl_Block6Explorer.cxx
215   GEOMImpl_MeasureDriver.cxx
216   GEOMImpl_PolylineDriver.cxx
217   GEOMImpl_CircleDriver.cxx
218   GEOMImpl_EllipseDriver.cxx
219   GEOMImpl_ArcDriver.cxx
220   GEOMImpl_SplineDriver.cxx
221   GEOMImpl_SketcherDriver.cxx
222   GEOMImpl_3DSketcherDriver.cxx
223   GEOMImpl_FilletDriver.cxx
224   GEOMImpl_Fillet1d.cxx
225   GEOMImpl_Fillet1dDriver.cxx
226   GEOMImpl_Fillet2dDriver.cxx
227   GEOMImpl_ChamferDriver.cxx
228   GEOMImpl_BooleanDriver.cxx
229   GEOMImpl_PartitionDriver.cxx
230   GEOMImpl_CopyDriver.cxx
231   GEOMImpl_ExportDriver.cxx
232   GEOMImpl_ImportDriver.cxx
233   GEOMImpl_RotateDriver.cxx
234   GEOMImpl_ArchimedeDriver.cxx
235   GEOMImpl_HealingDriver.cxx
236   GEOMImpl_FillingDriver.cxx
237   GEOMImpl_GlueDriver.cxx
238   GEOMImpl_FieldDriver.cxx
239   )
240
241 # --- rules ---
242
243 ADD_LIBRARY(GEOMImpl ${GEOMImpl_SOURCES})
244 TARGET_LINK_LIBRARIES(GEOMImpl ${_link_LIBRARIES})
245 INSTALL(TARGETS GEOMImpl EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
246
247 INSTALL(FILES ${GEOMImpl_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})