compiles on openSUSE 15.4 part 2
[engrid-github.git] / src / libengrid / libengrid.pro
bloba15d5588016ce5b0ad02261c57f88eb35480bbdc
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 # ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
21 include(../engrid.pri)
23 TEMPLATE = lib
24 LANGUAGE = C++
25 TARGET = engrid
27 CONFIG += qt debug_and_release thread
28 QT += xml network opengl`
30 win32-msvc* {
31 CONFIG += staticlib
32 QMAKE_CXXFLAGS += -W3
33 DEFINES += LIBENGRID_EXPORTS
34 #DEFINES += DLL_EXPORT
35 DEFINES += _USE_MATH_DEFINES
36 INCLUDEPATH += $(VTKINCDIR)
37 LIBS += -L$(VTKLIBDIR)
38 LIBS += -lQVTK
39 LIBS += -lvtkCommon
40 LIBS += -lvtkDICOMParser
41 LIBS += -lvtkexoIIc
42 LIBS += -lvtkFiltering
43 LIBS += -lvtkftgl
44 LIBS += -lvtkGenericFiltering
45 LIBS += -lvtkGraphics
46 LIBS += -lvtkHybrid
47 LIBS += -lvtkImaging
48 LIBS += -lvtkIO
49 LIBS += -lvtkRendering
50 LIBS += -lvtksys
51 LIBS += -lvtkVolumeRendering
52 LIBS += -lvtkWidgets
53 LIBS += ../netgen_svn/release/nglib.lib
54 brlcad {
55 INCLUDEPATH += ../../../BRL-CAD/include
56 INCLUDEPATH += ../../../BRL-CAD/include/openNURBS
57 LIBS += ../../../BRL-CAD/lib/librt.lib
58 LIBS += ../../../BRL-CAD/lib/libbu.lib
59 DEFINES += BRLCAD_SUPPORT
60 INCLUDEPATH += ../../../BRL-CAD/include/openNURBS
62 netcdf {
63 DEFINES += TAU_SUPPORT
64 INCLUDEPATH += ../../../netCDF/include
65 LIBS += ../../../netCDF/lib/netcdf.lib
66 LIBS += ../../../netCDF/lib/netcdfcxx.lib
68 } else {
69 QMAKE_CXXFLAGS += -Wno-deprecated -g
70 INCLUDEPATH += $(VTKINCDIR)
71 brlcad {
72 INCLUDEPATH += $(BRLCADINCDIR)
73 INCLUDEPATH += $(BRLCADINCDIR)/openNURBS
74 DEFINES += BRLCAD_SUPPORT
76 netcdf {
77 DEFINES += TAU_SUPPORT
82 INCLUDEPATH += ..
83 INCLUDEPATH += ./libengrid
84 INCLUDEPATH += ../netgen_svn/netgen-mesher/netgen/nglib
85 INCLUDEPATH += ../netgen_svn/netgen-mesher/netgen/libsrc/general
87 # VTK
89 RESOURCES += engrid.qrc
91 HEADERS = \
92 blenderreader.h \
93 blenderwriter.h \
94 boundarycondition.h \
95 boxselect.h \
96 brlcadinterface.h \
97 brlcadreader.h \
98 cadinterface.h \
99 celllayeriterator.h \
100 cellneighbouriterator.h \
101 cgnswriter.h \
102 checkerboardgraphiterator.h \
103 checkforoverlap.h \
104 checksurfaceintegrity.h \
105 containertricks.h \
106 correctsurfaceorientation.h \
107 createboundarylayer.h \
108 createcadtesselation.h \
109 createhexcore.h \
110 createvolumemesh.h \
111 deletecells.h \
112 deletepickedcell.h \
113 deletepickedpoint.h \
114 deletestraynodes.h \
115 deletetetras.h \
116 deletevolumegrid.h \
117 dialoglineedit.h \
118 dialogoperation.h \
119 dolfynwriter.h \
120 edgelengthsource.h \
121 edgelengthsourcemanager.h \
122 eghashset.h \
123 egvtkinteractorstyle.h \
124 egvtkobject.h \
125 elements.h \
126 eliminatesmallbranches.h \
127 engrid.h \
128 engrid_version.h \
129 error.h \
130 facefinder.h \
131 filetemplate.h \
132 fixcadgeometry.h \
133 fixstl.h \
134 foamobject.h \
135 foamreader.h \
136 foamwriter.h \
137 geometrytools.h \
138 globalnodegraphinterface.h \
139 gmshiooperation.h \
140 gmshreader.h \
141 gmshwriter.h \
142 gridsmoother.h \
143 guibrlcadimportdialogue.h \
144 guicreateboundarylayer.h \
145 guicreatehexcore.h \
146 guicreatesurfacemesh.h \
147 guicreatevolumemesh.h \
148 guideletebadaspecttris.h \
149 guidivideboundarylayer.h \
150 guiedgelengthsourcebox.h \
151 guiedgelengthsourcecone.h \
152 guiedgelengthsourcepipe.h \
153 guiedgelengthsourcesphere.h \
154 guieditboundaryconditions.h \
155 guiimproveaspectratio.h \
156 guimainwindow.h \
157 guimergevolumes.h \
158 guimirrormesh.h \
159 guinormalextrusion.h \
160 guipick.h \
161 guiselectboundarycodes.h \
162 guisetboundarycode.h \
163 guisettingstab.h \
164 guisettingsviewer.h \
165 guisurfacemesher.h \
166 guitransform.h \
167 guivolumedelegate.h \
168 insertpoints.h \
169 iooperation.h \
170 iterator.h \
171 laplacesmoother.h \
172 layeriterator.h \
173 localnodegraphinterface.h \
174 ../math/linsolve.h \
175 ../math/mathvector.h \
176 ../math/mathvector_methods.h \
177 ../math/mathvector_operators.h \
178 ../math/mathvector_structs.h \
179 ../math/smallsquarematrix.h \
180 mergenodes.h \
181 meshpartition.h \
182 meshqualityfaceorientation.h \
183 meshquality.h \
184 multipagewidget.h \
185 multipagewidgetpage.h \
186 neutralwriter.h \
187 nodelayeriterator.h \
188 octree.h \
189 openfoamcase.h \
190 openfoamtools.h \
191 operation.h \
192 optimisation.h \
193 optimisenormalvector.h \
194 physicalboundarycondition.h \
195 plywriter.h \
196 pointfinder.h \
197 polydatareader.h \
198 polymesh.h \
199 polymolecule.h \
200 reducedpolydatareader.h \
201 reducesurfacetriangulation.h \
202 removepoints.h \
203 seedsimpleprismaticlayer.h \
204 seligairfoilreader.h \
205 setboundarycode.h \
206 showinfo.h \
207 simplefoamwriter.h \
208 smoothandswapsurface.h \
209 smoothingutilities.h \
210 sortablevector.h \
211 statistics.h \
212 std_connections.h \
213 std_includes.h \
214 stlreader.h \
215 stlwriter.h \
216 su2writer.h \
217 surfacealgorithm.h \
218 surfacemesher.h \
219 surfacenodemovementcheck.h \
220 surfaceoperation.h \
221 swaptriangles.h \
222 tauwriter.h \
223 text3d.h \
224 timer.h \
225 triangle.h \
226 triangularcadinterface.h \
227 tricoord.h \
228 tvtkoperation.h \
229 uniquevector.h \
230 updatedesiredmeshdensity.h \
231 updatesurfproj.h \
232 utilities.h \
233 vertexdelegate.h \
234 vertexmeshdensity.h \
235 volumedefinition.h \
236 vtkEgBoundaryCodesFilter.h \
237 vtkEgEliminateShortEdges.h \
238 vtkEgExtractVolumeCells.h \
239 vtkEgGridFilter.h \
240 vtkEgNormalExtrusion.h \
241 vtkEgPolyDataToUnstructuredGridFilter.h \
242 vtkreader.h \
243 xmlhandler.h \
244 guifillplane.h \
245 fillplane.h \
246 drnumwriter.h \
247 computemeshdensity.h \
248 converttopolymesh.h \
249 guicreatehexshell.h \
250 guiconverttopolymesh.h \
251 createhexibmesh.h \
252 guicreatehexibmesh.h \
253 restricttoavailablevolumecells.h
256 SOURCES = \
257 blenderreader.cpp \
258 blenderwriter.cpp \
259 boundarycondition.cpp \
260 boxselect.cpp \
261 brlcadinterface.cpp \
262 brlcadreader.cpp \
263 cadinterface.cpp \
264 celllayeriterator.cpp \
265 cellneighbouriterator.cpp \
266 cgnswriter.cpp \
267 checkforoverlap.cpp \
268 checksurfaceintegrity.cpp \
269 correctsurfaceorientation.cpp \
270 createboundarylayer.cpp \
271 createcadtesselation.cpp \
272 createhexcore.cpp \
273 createvolumemesh.cpp \
274 deletecells.cpp \
275 deletepickedcell.cpp \
276 deletepickedpoint.cpp \
277 deletestraynodes.cpp \
278 deletetetras.cpp \
279 deletevolumegrid.cpp \
280 dialoglineedit.cpp \
281 dolfynwriter.cpp \
282 edgelengthsourcemanager.cpp \
283 egvtkinteractorstyle.cpp \
284 egvtkobject.cpp \
285 elements.cpp \
286 eliminatesmallbranches.cpp \
287 error.cpp \
288 facefinder.cpp \
289 filetemplate.cpp \
290 fixcadgeometry.cpp \
291 fixstl.cpp \
292 foamobject.cpp \
293 foamreader.cpp \
294 foamwriter.cpp \
295 geometrytools.cpp \
296 gmshiooperation.cpp \
297 gmshreader.cpp \
298 gmshwriter.cpp \
299 gridsmoother.cpp \
300 guibrlcadimportdialogue.cpp \
301 guicreateboundarylayer.cpp \
302 guicreatehexcore.cpp \
303 guicreatesurfacemesh.cpp \
304 guicreatevolumemesh.cpp \
305 guideletebadaspecttris.cpp \
306 guidivideboundarylayer.cpp \
307 guiedgelengthsourcebox.cpp \
308 guiedgelengthsourcecone.cpp \
309 guiedgelengthsourcepipe.cpp \
310 guiedgelengthsourcesphere.cpp \
311 guieditboundaryconditions.cpp \
312 guiimproveaspectratio.cpp \
313 guimainwindow.cpp \
314 guimergevolumes.cpp \
315 guimirrormesh.cpp \
316 guinormalextrusion.cpp \
317 guipick.cpp \
318 guiselectboundarycodes.cpp \
319 guisetboundarycode.cpp \
320 guisettingstab.cpp \
321 guisettingsviewer.cpp \
322 guisurfacemesher.cpp \
323 guitransform.cpp \
324 guivolumedelegate.cpp \
325 insertpoints.cpp \
326 iooperation.cpp \
327 iterator.cpp \
328 laplacesmoother.cpp \
329 layeriterator.cpp \
330 mergenodes.cpp \
331 meshpartition.cpp \
332 meshquality.cpp \
333 meshqualityfaceorientation.cpp \
334 multipagewidget.cpp \
335 multipagewidgetpage.cpp \
336 neutralwriter.cpp \
337 nodelayeriterator.cpp \
338 octree.cpp \
339 openfoamcase.cpp \
340 openfoamtools.cpp \
341 operation.cpp \
342 optimisation.cpp \
343 optimisenormalvector.cpp \
344 physicalboundarycondition.cpp \
345 plywriter.cpp \
346 pointfinder.cpp \
347 polydatareader.cpp \
348 polymesh.cpp \
349 polymolecule.cpp \
350 reducedpolydatareader.cpp \
351 reducesurfacetriangulation.cpp \
352 removepoints.cpp \
353 seedsimpleprismaticlayer.cpp \
354 seligairfoilreader.cpp \
355 setboundarycode.cpp \
356 showinfo.cpp \
357 simplefoamwriter.cpp \
358 smoothandswapsurface.cpp \
359 smoothingutilities.cpp \
360 stlreader.cpp \
361 stlwriter.cpp \
362 su2writer.cpp \
363 surfacealgorithm.cpp \
364 surfacemesher.cpp \
365 surfacenodemovementcheck.cpp \
366 surfaceoperation.cpp \
367 swaptriangles.cpp \
368 tauwriter.cpp \
369 text3d.cpp \
370 timer.cpp \
371 triangle.cpp \
372 triangularcadinterface.cpp \
373 tricoord.cpp \
374 updatedesiredmeshdensity.cpp \
375 updatesurfproj.cpp \
376 utilities.cpp \
377 vertexdelegate.cpp \
378 vertexmeshdensity.cpp \
379 volumedefinition.cpp \
380 vtkEgBoundaryCodesFilter.cxx \
381 vtkEgEliminateShortEdges.cxx \
382 vtkEgExtractVolumeCells.cxx \
383 vtkEgGridFilter.cxx \
384 vtkEgNormalExtrusion.cxx \
385 vtkEgPolyDataToUnstructuredGridFilter.cxx \
386 vtkreader.cpp \
387 xmlhandler.cpp \
388 guifillplane.cpp \
389 fillplane.cpp \
390 drnumwriter.cpp \
391 computemeshdensity.cpp \
392 converttopolymesh.cpp \
393 guicreatehexshell.cpp \
394 guiconverttopolymesh.cpp \
395 createhexibmesh.cpp \
396 guicreatehexibmesh.cpp \
397 restricttoavailablevolumecells.cpp
400 FORMS = \
401 guibooleangeometryoperation.ui \
402 guibrlcadimportdialogue.ui \
403 guicreateboundarylayer.ui \
404 guicreatehexcore.ui \
405 guicreatesurfacemesh.ui \
406 guicreatevolumemesh.ui \
407 guideletebadaspecttris.ui \
408 guidivideboundarylayer.ui \
409 guiedgelengthsourcebox.ui \
410 guiedgelengthsourcecone.ui \
411 guiedgelengthsourcepipe.ui \
412 guiedgelengthsourcesphere.ui \
413 guieditboundaryconditions.ui \
414 guiimproveaspectratio.ui \
415 guimainwindow.ui \
416 guimergevolumes.ui \
417 guimirrormesh.ui \
418 guinormalextrusion.ui \
419 guipick.ui \
420 guiselectboundarycodes.ui \
421 guisetboundarycode.ui \
422 guisurfacemesher.ui \
423 guitransform.ui \
424 guifillplane.ui \
425 guicreatehexshell.ui \
426 guiconverttopolymesh.ui \
427 guicreatehexibmesh.ui