performance tuning -- nit finished
[engrid.git] / src / libengrid / libengrid.pro
blobc8b14b3eb76cec9671e30157e27f5373a6be0516
1 TEMPLATE = lib
2 LANGUAGE = C++
3 TARGET = engrid
5 # Enable this if the VTK from the ParaView sources and
6 # installation want to be used
7 # Note: Currently only for Windows Compiles with MSVC
8 Use_VTK_Win_ParaView = yes
11 CONFIG += qt \
12 debug_and_release \
13 thread
15 QT += xml \
16 network \
17 opengl
19 win32-msvc* {
20 QMAKE_CXXFLAGS += -W3
21 DEFINES += LIBENGRID_EXPORTS
22 DEFINES += DLL_EXPORT
23 } win32-g++* {
24 CONFIG += console
25 DEFINES += LIBENGRID_EXPORTS
26 DEFINES += DLL_EXPORT
27 QMAKE_CXXFLAGS += -Wall
28 QMAKE_CXXFLAGS += -Wno-deprecated
29 QMAKE_CXXFLAGS += -Wl,--no-undefined
30 QMAKE_CXXFLAGS += -Wl,--enable-runtime-pseudo-reloc
31 } else {
32 QMAKE_CXXFLAGS += -Wall
33 QMAKE_CXXFLAGS += -Wno-deprecated
34 QMAKE_CXXFLAGS += -fno-omit-frame-pointer
35 QMAKE_CXXFLAGS += -g
39 INCLUDEPATH += ..
40 INCLUDEPATH += ./libengrid-build
41 INCLUDEPATH += ../netgen_svn/netgen-mesher/netgen/nglib
42 INCLUDEPATH += ../netgen_svn/netgen-mesher/netgen/libsrc/general
44 #INCLUDEPATH for VTK depends on the compiler
45 win32-msvc* {
46 DEFINES += _USE_MATH_DEFINES
48 !isEmpty(Use_VTK_Win_ParaView) {
49 include(../misc/engrid-vtk-win_paraview.pri)
50 } else {
51 INCLUDEPATH += $(VTKINCDIR)
53 } win32-g++* {
54 INCLUDEPATH += $(VTKINCDIR)
55 } else {
56 INCLUDEPATH += $(VTKINCDIR)
59 RESOURCES += engrid.qrc
61 HEADERS = boundarycondition.h \
62 celllayeriterator.h \
63 cellneighbouriterator.h \
64 cgnswriter.h \
65 containertricks.h \
66 correctsurfaceorientation.h \
67 createvolumemesh.h \
68 deletecells.h \
69 deletetetras.h \
70 deletepickedcell.h \
71 deletevolumegrid.h \
72 dialogoperation.h \
73 egvtkobject.h \
74 elements.h \
75 engrid.h \
76 error.h \
77 fixstl.h \
78 foamreader.h \
79 foamwriter.h \
80 geometrytools.h \
81 gmshiooperation.h \
82 gmshreader.h \
83 gmshwriter.h \
84 gridsmoother.h \
85 iooperation.h \
86 iterator.h \
87 layeriterator.h \
88 meshpartition.h \
89 neutralwriter.h \
90 nodelayeriterator.h \
91 operation.h \
92 optimisation.h \
93 physicalboundarycondition.h \
94 polydatareader.h \
95 polymesh.h \
96 seedsimpleprismaticlayer.h \
97 setboundarycode.h \
98 simplefoamwriter.h \
99 sortablevector.h \
100 std_connections.h \
101 std_includes.h \
102 stlreader.h \
103 stlwriter.h \
104 plywriter.h \
105 uniquevector.h \
106 swaptriangles.h \
107 tvtkoperation.h \
108 volumedefinition.h \
109 vtkreader.h \
110 vtkEgBoundaryCodesFilter.h \
111 vtkEgEliminateShortEdges.h \
112 vtkEgExtractVolumeCells.h \
113 vtkEgGridFilter.h \
114 vtkEgNormalExtrusion.h \
115 vtkEgPolyDataToUnstructuredGridFilter.h \
116 vtkImplicitPolyData.h \
117 guicreateboundarylayer.h \
118 guicreatevolumemesh.h \
119 guideletebadaspecttris.h \
120 guidivideboundarylayer.h \
121 guieditboundaryconditions.h \
122 guiimproveaspectratio.h \
123 guimainwindow.h \
124 guinormalextrusion.h \
125 guiselectboundarycodes.h \
126 guisetboundarycode.h \
127 guicreatesurfacemesh.h \
128 guisettingstab.h \
129 guisettingsviewer.h \
130 guivolumedelegate.h \
131 guitransform.h \
132 vertexdelegate.h \
133 vertexmeshdensity.h \
134 smoothingutilities.h \
135 laplacesmoother.h \
136 deletepickedpoint.h \
137 text3d.h \
138 guipick.h \
139 egvtkinteractorstyle.h \
140 insertpoints.h \
141 removepoints.h \
142 reducedpolydatareader.h \
143 showinfo.h \
144 surfacemesher.h \
145 updatedesiredmeshdensity.h \
146 boxselect.h \
147 checksurfaceintegrity.h \
148 surfaceoperation.h \
149 surfaceprojection.h \
150 octree.h \
151 filetemplate.h \
152 openfoamcase.h \
153 multipagewidget.h \
154 tricoord.h \
155 updatesurfproj.h \
156 foamobject.h \
157 multipagewidgetpage.h \
158 xmlhandler.h \
159 openfoamtools.h \
160 sharpenedges.h \
161 checkforoverlap.h \
162 timer.h \
163 facefinder.h \
164 ../math/linsolve.h \
165 ../math/mathvector.h \
166 ../math/mathvector_methods.h \
167 ../math/mathvector_operators.h \
168 ../math/mathvector_structs.h \
169 ../math/smallsquarematrix.h \
170 pointfinder.h \
171 createboundarylayer.h \
172 guisurfacemesher.h \
173 guicreatehexcore.h \
174 createhexcore.h \
175 orthogonalityoptimiser.h \
176 optimisenormalvector.h \
177 brlcadreader.h \
178 eghashset.h \
179 polymolecule.h
181 SOURCES = boundarycondition.cpp \
182 celllayeriterator.cpp \
183 cellneighbouriterator.cpp \
184 cgnswriter.cpp \
185 correctsurfaceorientation.cpp \
186 createvolumemesh.cpp \
187 deletecells.cpp \
188 deletepickedcell.cpp \
189 deletetetras.cpp \
190 deletevolumegrid.cpp \
191 egvtkobject.cpp \
192 elements.cpp \
193 error.cpp \
194 fixstl.cpp \
195 foamreader.cpp \
196 foamwriter.cpp \
197 geometrytools.cpp \
198 gmshiooperation.cpp \
199 gmshreader.cpp \
200 gmshwriter.cpp \
201 gridsmoother.cpp \
202 iooperation.cpp \
203 iterator.cpp \
204 layeriterator.cpp \
205 meshpartition.cpp \
206 neutralwriter.cpp \
207 nodelayeriterator.cpp \
208 operation.cpp \
209 optimisation.cpp \
210 physicalboundarycondition.cpp \
211 polydatareader.cpp \
212 polymesh.cpp \
213 seedsimpleprismaticlayer.cpp \
214 setboundarycode.cpp \
215 simplefoamwriter.cpp \
216 stlreader.cpp \
217 stlwriter.cpp \
218 plywriter.cpp \
219 swaptriangles.cpp \
220 volumedefinition.cpp \
221 vtkreader.cpp \
222 vtkEgBoundaryCodesFilter.cxx \
223 vtkEgEliminateShortEdges.cxx \
224 vtkEgExtractVolumeCells.cxx \
225 vtkEgGridFilter.cxx \
226 vtkEgNormalExtrusion.cxx \
227 vtkEgPolyDataToUnstructuredGridFilter.cxx \
228 vtkImplicitPolyData.cpp \
229 guicreateboundarylayer.cpp \
230 guicreatevolumemesh.cpp \
231 guideletebadaspecttris.cpp \
232 guidivideboundarylayer.cpp \
233 guieditboundaryconditions.cpp \
234 guiimproveaspectratio.cpp \
235 guimainwindow.cpp \
236 guinormalextrusion.cpp \
237 guiselectboundarycodes.cpp \
238 guisetboundarycode.cpp \
239 guicreatesurfacemesh.cpp \
240 guisettingstab.cpp \
241 guisettingsviewer.cpp \
242 guivolumedelegate.cpp \
243 guitransform.cpp \
244 vertexdelegate.cpp \
245 vertexmeshdensity.cpp \
246 smoothingutilities.cpp \
247 laplacesmoother.cpp \
248 deletepickedpoint.cpp \
249 text3d.cpp \
250 guipick.cpp \
251 egvtkinteractorstyle.cpp \
252 insertpoints.cpp \
253 removepoints.cpp \
254 showinfo.cpp \
255 surfacemesher.cpp \
256 updatedesiredmeshdensity.cpp \
257 boxselect.cpp \
258 checksurfaceintegrity.cpp \
259 surfaceoperation.cpp \
260 surfaceprojection.cpp \
261 octree.cpp \
262 filetemplate.cpp \
263 openfoamcase.cpp \
264 multipagewidget.cpp \
265 tricoord.cpp \
266 updatesurfproj.cpp \
267 foamobject.cpp \
268 multipagewidgetpage.cpp \
269 xmlhandler.cpp \
270 reducedpolydatareader.cpp \
271 openfoamtools.cpp \
272 sharpenedges.cpp \
273 checkforoverlap.cpp \
274 timer.cpp \
275 facefinder.cpp \
276 pointfinder.cpp \
277 createboundarylayer.cpp \
278 guisurfacemesher.cpp \
279 guicreatehexcore.cpp \
280 createhexcore.cpp \
281 orthogonalityoptimiser.cpp \
282 optimisenormalvector.cpp \
283 brlcadreader.cpp \
284 polymolecule.cpp
286 FORMS = guicreateboundarylayer.ui \
287 guideletebadaspecttris.ui \
288 guidivideboundarylayer.ui \
289 guieditboundaryconditions.ui \
290 guimainwindow.ui \
291 guiimproveaspectratio.ui \
292 guinormalextrusion.ui \
293 guiselectboundarycodes.ui \
294 guisetboundarycode.ui \
295 guicreatesurfacemesh.ui \
296 guitransform.ui \
297 guipick.ui \
298 guicreatevolumemesh.ui \
299 guisurfacemesher.ui \
300 guicreatehexcore.ui
302 HEADERS += surfacealgorithm.h
303 SOURCES += surfacealgorithm.cpp
304 HEADERS += reducesurfacetriangulation.h
305 SOURCES += reducesurfacetriangulation.cpp
306 HEADERS += eliminatesmallbranches.h
307 SOURCES += eliminatesmallbranches.cpp
308 HEADERS += smoothandswapsurface.h
309 SOURCES += smoothandswapsurface.cpp
310 HEADERS += seligairfoilreader.h
311 SOURCES += seligairfoilreader.cpp
312 HEADERS += fixcadgeometry.h
313 SOURCES += fixcadgeometry.cpp
314 HEADERS += blenderreader.h
315 SOURCES += blenderreader.cpp
316 HEADERS += blenderwriter.h
317 SOURCES += blenderwriter.cpp
318 HEADERS += dialoglineedit.h
319 SOURCES += dialoglineedit.cpp
320 HEADERS += utilities.h
321 SOURCES += utilities.cpp
322 HEADERS += edgelengthsourcemanager.h \
323 edgelengthsource.h
324 SOURCES += edgelengthsourcemanager.cpp
325 FORMS += guiedgelengthsourcesphere.ui
326 HEADERS += guiedgelengthsourcesphere.h
327 SOURCES += guiedgelengthsourcesphere.cpp
328 HEADERS += triangle.h
329 SOURCES += triangle.cpp
330 HEADERS += mergenodes.h
331 SOURCES += mergenodes.cpp
332 FORMS += guiedgelengthsourcecone.ui
333 HEADERS += guiedgelengthsourcecone.h
334 SOURCES += guiedgelengthsourcecone.cpp
335 FORMS += guimergevolumes.ui
336 HEADERS += guimergevolumes.h
337 SOURCES += guimergevolumes.cpp
338 HEADERS += deletestraynodes.h
339 SOURCES += deletestraynodes.cpp
340 HEADERS += guimirrormesh.h
341 SOURCES += guimirrormesh.cpp
342 FORMS += guimirrormesh.ui