skeleton for feature snap operation (edge sharpening)
[engrid-github.git] / src / libengrid / CMakeLists.txt
blob9ba2255ac773c6046d9cc83bbc71faf0d70625c1
1 # ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 # +                                                                      +
3 # + This file is part of enGrid.                                         +
4 # +                                                                      +
5 # + Copyright 2008-2014 enGits GmbH                                      +
6 # +                                                                      +
7 # + enGrid is free software: you can redistribute it and/or modify       +
8 # + it under the terms of the GNU General Public License as published by +
9 # + the Free Software Foundation, either version 3 of the License, or    +
10 # + (at your option) any later version.                                  +
11 # +                                                                      +
12 # + enGrid is distributed in the hope that it will be useful,            +
13 # + but WITHOUT ANY WARRANTY; without even the implied warranty of       +
14 # + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        +
15 # + GNU General Public License for more details.                         +
16 # +                                                                      +
17 # + You should have received a copy of the GNU General Public License    +
18 # + along with enGrid. If not, see <http://www.gnu.org/licenses/>.       +
19 # +                                                                      +
20 # ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
22 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTETLIBRARY")
24 SET(libengrid_HEADERS
25   blenderreader.h
26   blenderwriter.h
27   boundarycondition.h
28   boundarylayeroperation.h
29   boxselect.h
30   brlcadinterface.h
31   brlcadreader.h
32   cadinterface.h
33   celllayeriterator.h
34   cellneighbouriterator.h
35   cgaltricadinterface.h
36   cgnswriter.h
37   checkerboardgraphiterator.h
38   checkforoverlap.h
39   checksurfaceintegrity.h
40   containertricks.h
41   correctsurfaceorientation.h
42   createboundarylayershell.h
43   createcadtesselation.h
44   createhexcore.h
45   createvolumemesh.h
46   deletecells.h
47   deletepickedcell.h
48   deletepickedpoint.h
49   deletestraynodes.h
50   deletetetras.h
51   deletevolumegrid.h
52   dialoglineedit.h
53   dialogoperation.h
54   dolfynwriter.h
55   edgelengthsource.h
56   edgelengthsourcemanager.h
57   eghashset.h
58   egvtkinteractorstyle.h
59   egvtkobject.h
60   elements.h
61   eliminatesmallbranches.h
62   engrid.h
63   engrid_version.h
64   error.h
65   facefinder.h
66   filetemplate.h
67   fixcadgeometry.h
68   fixstl.h
69   foamobject.h
70   foamreader.h
71   foamwriter.h
72   geometrytools.h
73   globalnodegraphinterface.h
74   gmshiooperation.h
75   gmshreader.h
76   gmshwriter.h
77   gridsmoother.h
78   guibrlcadimportdialogue.h
79   guicreateboundarylayer.h
80   guicreatehexcore.h
81   guicreatesurfacemesh.h
82   guicreatevolumemesh.h
83   guideletebadaspecttris.h
84   guidivideboundarylayer.h
85   guiedgelengthsourcebox.h
86   guiedgelengthsourcecone.h
87   guiedgelengthsourcepipe.h
88   guiedgelengthsourcesphere.h
89   guieditboundaryconditions.h
90   guiimproveaspectratio.h
91   guimainwindow.h
92   guimergevolumes.h
93   guimirrormesh.h
94   guinormalextrusion.h
95   guipick.h
96   guiselectboundarycodes.h
97   guisetboundarycode.h
98   guisettingstab.h
99   guisettingsviewer.h
100   guisurfacemesher.h
101   guitransform.h
102   guivolumedelegate.h
103   insertpoints.h
104   iooperation.h
105   iterator.h
106   laplacesmoother.h
107   layeriterator.h
108   localnodegraphinterface.h
109   ../math/linsolve.h
110   ../math/mathvector.h
111   ../math/mathvector_methods.h
112   ../math/mathvector_operators.h
113   ../math/mathvector_structs.h
114   ../math/smallsquarematrix.h
115   mergenodes.h
116   meshpartition.h
117   meshqualityfaceorientation.h
118   meshquality.h
119   multipagewidget.h
120   multipagewidgetpage.h
121   multisolidasciistlreader.h
122   neutralwriter.h
123   nodelayeriterator.h
124   octree.h
125   openfoamcase.h
126   openfoamtools.h
127   operation.h
128   optimisation.h
129   optimisenormalvector.h
130   physicalboundarycondition.h
131   plywriter.h
132   pointfinder.h
133   polydatareader.h
134   polymesh.h
135   polymolecule.h
136   reducedpolydatareader.h
137   reducesurfacetriangulation.h
138   removepoints.h
139   ruleedgelengthsource.h
140   seedsimpleprismaticlayer.h
141   seligairfoilreader.h
142   setboundarycode.h
143   showinfo.h
144   simplefoamwriter.h
145   smoothandswapsurface.h
146   smoothingutilities.h
147   snaptofeatures.h
148   sortablevector.h
149   statistics.h
150   std_connections.h
151   std_includes.h
152   stlreader.h
153   stlwriter.h
154   su2writer.h
155   surfacealgorithm.h
156   surfacemesher.h
157   surfacenodemovementcheck.h
158   surfaceoperation.h
159   swaptriangles.h
160   tauwriter.h
161   tetgenoperation.h
162   text3d.h
163   timer.h
164   triangle.h
165   triangularcadinterface.h
166   tricoord.h
167   tvtkoperation.h
168   uniquevector.h
169   updatedesiredmeshdensity.h
170   updatesurfproj.h
171   utilities.h
172   vertexdelegate.h
173   vertexmeshdensity.h
174   volumedefinition.h
175   vtkEgBoundaryCodesFilter.h
176   vtkEgEliminateShortEdges.h
177   vtkEgExtractVolumeCells.h
178   vtkEgGridFilter.h
179   vtkEgNormalExtrusion.h
180   vtkEgPolyDataToUnstructuredGridFilter.h
181   vtkreader.h
182   xmlhandler.h
183   guifillplane.h
184   fillplane.h
185   drnumwriter.h
186   computemeshdensity.h
187   converttopolymesh.h
188   guicreatehexshell.h
189   guiconverttopolymesh.h
190   createhexibmesh.h
191   guicreatehexibmesh.h
192   restricttoavailablevolumecells.h
195 SET(libengrid_FORMS
196   guibooleangeometryoperation.ui
197   guibrlcadimportdialogue.ui
198   guicreateboundarylayer.ui
199   guicreatehexcore.ui
200   guicreatesurfacemesh.ui
201   guicreatevolumemesh.ui
202   guideletebadaspecttris.ui
203   guidivideboundarylayer.ui
204   guiedgelengthsourcebox.ui
205   guiedgelengthsourcecone.ui
206   guiedgelengthsourcepipe.ui
207   guiedgelengthsourcesphere.ui
208   guieditboundaryconditions.ui
209   guiimproveaspectratio.ui
210   guimainwindow.ui
211   guimergevolumes.ui
212   guimirrormesh.ui
213   guinormalextrusion.ui
214   guipick.ui
215   guiselectboundarycodes.ui
216   guisetboundarycode.ui
217   guisurfacemesher.ui
218   guitransform.ui
219   guifillplane.ui
220   guicreatehexshell.ui
221   guiconverttopolymesh.ui
222   guicreatehexibmesh.ui
225 QT4_WRAP_CPP(libengrid_HEADERS_MOC ${libengrid_HEADERS})
226 QT4_WRAP_UI(libengrid_FORMS_HEADERS ${libengrid_FORMS})
227 QT4_ADD_RESOURCES(libengrid_RESOURCES_RCC engrid.qrc)
229 SET(libengrid_SOURCES
230   ${libengrid_HEADERS}
231   ${linengrid_HEADERS_MOC}
232   blenderreader.cpp
233   blenderwriter.cpp
234   boundarycondition.cpp
235   boundarylayeroperation.cpp
236   boxselect.cpp
237   brlcadinterface.cpp
238   brlcadreader.cpp
239   cadinterface.cpp
240   celllayeriterator.cpp
241   cellneighbouriterator.cpp
242   cgaltricadinterface.cpp
243   cgnswriter.cpp
244   checkforoverlap.cpp
245   checksurfaceintegrity.cpp
246   correctsurfaceorientation.cpp
247   createboundarylayershell.cpp
248   createcadtesselation.cpp
249   createhexcore.cpp
250   createvolumemesh.cpp
251   deletecells.cpp
252   deletepickedcell.cpp
253   deletepickedpoint.cpp
254   deletestraynodes.cpp
255   deletetetras.cpp
256   deletevolumegrid.cpp
257   dialoglineedit.cpp
258   dolfynwriter.cpp
259   edgelengthsourcemanager.cpp
260   egvtkinteractorstyle.cpp
261   egvtkobject.cpp
262   elements.cpp
263   eliminatesmallbranches.cpp
264   error.cpp
265   facefinder.cpp
266   filetemplate.cpp
267   fixcadgeometry.cpp
268   fixstl.cpp
269   foamobject.cpp
270   foamreader.cpp
271   foamwriter.cpp
272   geometrytools.cpp
273   gmshiooperation.cpp
274   gmshreader.cpp
275   gmshwriter.cpp
276   gridsmoother.cpp
277   guibrlcadimportdialogue.cpp
278   guicreateboundarylayer.cpp
279   guicreatehexcore.cpp
280   guicreatesurfacemesh.cpp
281   guicreatevolumemesh.cpp
282   guideletebadaspecttris.cpp
283   guidivideboundarylayer.cpp
284   guiedgelengthsourcebox.cpp
285   guiedgelengthsourcecone.cpp
286   guiedgelengthsourcepipe.cpp
287   guiedgelengthsourcesphere.cpp
288   guieditboundaryconditions.cpp
289   guiimproveaspectratio.cpp
290   guimainwindow.cpp
291   guimergevolumes.cpp
292   guimirrormesh.cpp
293   guinormalextrusion.cpp
294   guipick.cpp
295   guiselectboundarycodes.cpp
296   guisetboundarycode.cpp
297   guisettingstab.cpp
298   guisettingsviewer.cpp
299   guisurfacemesher.cpp
300   guitransform.cpp
301   guivolumedelegate.cpp
302   insertpoints.cpp
303   iooperation.cpp
304   iterator.cpp
305   laplacesmoother.cpp
306   layeriterator.cpp
307   mergenodes.cpp
308   meshpartition.cpp
309   meshquality.cpp
310   meshqualityfaceorientation.cpp
311   multipagewidget.cpp
312   multipagewidgetpage.cpp
313   multisolidasciistlreader.cpp
314   neutralwriter.cpp
315   nodelayeriterator.cpp
316   octree.cpp
317   openfoamcase.cpp
318   openfoamtools.cpp
319   operation.cpp
320   optimisation.cpp
321   optimisenormalvector.cpp
322   physicalboundarycondition.cpp
323   plywriter.cpp
324   pointfinder.cpp
325   polydatareader.cpp
326   polymesh.cpp
327   polymolecule.cpp
328   reducedpolydatareader.cpp
329   reducesurfacetriangulation.cpp
330   removepoints.cpp
331   ruleedgelengthsource.cpp
332   seedsimpleprismaticlayer.cpp
333   seligairfoilreader.cpp
334   setboundarycode.cpp
335   showinfo.cpp
336   simplefoamwriter.cpp
337   smoothandswapsurface.cpp
338   smoothingutilities.cpp
339   snaptofeatures.cpp
340   stlreader.cpp
341   stlwriter.cpp
342   su2writer.cpp
343   surfacealgorithm.cpp
344   surfacemesher.cpp
345   surfacenodemovementcheck.cpp
346   surfaceoperation.cpp
347   swaptriangles.cpp
348   tauwriter.cpp
349   text3d.cpp
350   tetgenoperation.cpp
351   timer.cpp
352   triangle.cpp
353   triangularcadinterface.cpp
354   tricoord.cpp
355   updatedesiredmeshdensity.cpp
356   updatesurfproj.cpp
357   utilities.cpp
358   vertexdelegate.cpp
359   vertexmeshdensity.cpp
360   volumedefinition.cpp
361   vtkEgBoundaryCodesFilter.cxx
362   vtkEgEliminateShortEdges.cxx
363   vtkEgExtractVolumeCells.cxx
364   vtkEgGridFilter.cxx
365   vtkEgNormalExtrusion.cxx
366   vtkEgPolyDataToUnstructuredGridFilter.cxx
367   vtkreader.cpp
368   xmlhandler.cpp
369   guifillplane.cpp
370   fillplane.cpp
371   drnumwriter.cpp
372   computemeshdensity.cpp
373   converttopolymesh.cpp
374   guicreatehexshell.cpp
375   guiconverttopolymesh.cpp
376   createhexibmesh.cpp
377   guicreatehexibmesh.cpp
378   restricttoavailablevolumecells.cpp
382 ADD_LIBRARY(libengrid SHARED ${libengrid_SOURCES} ${libengrid_HEADERS_MOC} ${libengrid_FORMS_HEADERS} ${libengrid_RESOURCES_RCC})
385 SET_TARGET_PROPERTIES(libengrid PROPERTIES VERSION ${ENGRID_VERSION})
386 SET_TARGET_PROPERTIES(libengrid PROPERTIES COMPILE_FLAGS "-Wno-deprecated")
388 INSTALL(TARGETS libengrid LIBRARY DESTINATION lib)
389 INSTALL(FILES ${libengrid_HEADERS} DESTINATION include/engrid)