tmp commit
[engrid.git] / engrid.pro
blobf586da202274ae53cd6077603cbe9550ecf9f103
1 TEMPLATE = app
2 LANGUAGE = C++
3 TARGET = engrid
5 # install
6 target.path = /usr/bin
8 # target.path = $$PREFIX/bin
9 INSTALLS += target
10 # CONFIG += qt release thread
11 CONFIG += qt debug thread
12 DEFINES += QT_NO_DEBUG
14 QMAKE_CXXFLAGS += -pg
16 QT += xml network opengl
18 #VTK libs
19 LIBS += -lQVTK
20 LIBS += -lvtkCommon
21 LIBS += -lvtkDICOMParser
22 LIBS += -lvtkexoIIc
23 #LIBS += -lvtkexpat
24 LIBS += -lvtkFiltering
25 #LIBS += -lvtkfreetype
26 LIBS += -lvtkftgl
27 LIBS += -lvtkGenericFiltering
28 LIBS += -lvtkGraphics
29 LIBS += -lvtkHybrid
30 LIBS += -lvtkImaging
31 #LIBS += -lvtkInfovis
32 LIBS += -lvtkIO
33 #LIBS += -lvtkjpeg
34 #LIBS += -lvtklibxml2
35 #LIBS += -lvtkmetaio
36 LIBS += -lvtkNetCDF
37 #LIBS += -lvtkpng
38 LIBS += -lvtkRendering
39 #LIBS += -lvtksqlite
40 LIBS += -lvtksys
41 #LIBS += -lvtktiff
42 #LIBS += -lvtkViews
43 LIBS += -lvtkVolumeRendering
44 LIBS += -lvtkWidgets
45 #LIBS += -lvtkzlib
47 #netgen lib
48 LIBS += -lng
50 !win32 {
51 LIBS += -L./netgen_svn
52 LIBS += -L$(VTKLIBDIR)
53 LIBS += -Wl,-rpath
54 QMAKE_CXXFLAGS += -Wno-deprecated
55 INCLUDEPATH += $(VTKINCDIR)
56 INCLUDEPATH += ./netgen_svn/netgen-mesher/netgen/nglib
57 INCLUDEPATH += ./netgen_svn/netgen-mesher/netgen/libsrc/general
59 win32 {
60 VTK_DIR = C:\VTK
61 VTK_SRCDIR = C:\VTK\5.0.4
62 LIBS += -L$$VTK_DIR\bin\release
63 LIBS += -lvtkRendering
64 LIBS += -lvtkFiltering
65 LIBS += -lvtkIO
66 LIBS += -lvtkfreetype
67 LIBS += -lvtkftgl
68 LIBS += -lvtkexpat
69 LIBS += -lvtkzlib
70 INCLUDEPATH += $$VTK_SRCDIR\COMMON
71 INCLUDEPATH += $$VTK_SRCDIR\FILTER~1
72 INCLUDEPATH += $$VTK_SRCDIR\GUISUP~1\QT
73 INCLUDEPATH += $$VTK_SRCDIR\GENERI~1
74 INCLUDEPATH += $$VTK_SRCDIR\GRAPHICS
75 INCLUDEPATH += $$VTK_SRCDIR\HYBRID
76 INCLUDEPATH += $$VTK_SRCDIR\IMAGING
77 INCLUDEPATH += $$VTK_SRCDIR\IO
78 INCLUDEPATH += $$VTK_SRCDIR\RENDER~1
79 INCLUDEPATH += $$VTK_DIR
80 INCLUDEPATH += netgen_svn\netgen-mesher\netgen\nglib
81 INCLUDEPATH += netgen_svn\netgen-mesher\netgen\libsrc\general
82 LIBS += -Lnetgen_svn\release
83 DEFINES += _USE_MATH_DEFINES
85 RESOURCES += engrid.qrc
87 INCLUDEPATH += ./
88 INCLUDEPATH += ./nglib
90 HEADERS = \
92 boundarycondition.h \
93 celllayeriterator.h \
94 cellneighbouriterator.h \
95 containertricks.h \
96 correctsurfaceorientation.h \
97 createvolumemesh.h \
98 deletecells.h \
99 deletetetras.h \
100 deletepickedcell.h \
101 deletevolumegrid.h \
102 dialogoperation.h \
103 egvtkobject.h \
104 elements.h \
105 engrid.h \
106 error.h \
107 fixstl.h \
108 foamreader.h \
109 foamwriter.h \
110 geometrytools.h \
111 gmshiooperation.h \
112 gmshreader.h \
113 gmshwriter.h \
114 gridsmoother.h \
115 iooperation.h \
116 iterator.h \
117 layeriterator.h \
118 neutralwriter.h \
119 nodelayeriterator.h \
120 operation.h \
121 optimisation.h \
122 polydatareader.h \
123 polymesh.h \
124 seedsimpleprismaticlayer.h \
125 setboundarycode.h \
126 simplefoamwriter.h \
127 sortablevector.h \
128 std_connections.h \
129 std_includes.h \
130 stlreader.h \
131 stlwriter.h \
132 uniquevector.h \
133 swaptriangles.h \
134 tvtkoperation.h \
135 vtkreader.h \
137 vtkEgBoundaryCodesFilter.h \
138 vtkEgEliminateShortEdges.h \
139 vtkEgExtractVolumeCells.h \
140 vtkEgGridFilter.h \
141 vtkEgNormalExtrusion.h \
142 vtkEgPolyDataToUnstructuredGridFilter.h \
144 guicreateboundarylayer.h \
145 guideletebadaspecttris.h \
146 guidivideboundarylayer.h \
147 guieditboundaryconditions.h \
148 guiimproveaspectratio.h \
149 guimainwindow.h \
150 guinormalextrusion.h \
151 guiselectboundarycodes.h \
152 guisetboundarycode.h \
153 guismoothsurface.h \
154 guisettingstab.h \
155 guisettingsviewer.h \
157 guitransform.h \
158 vtksmoothpolydatafilter2.h \
159 vertexdelegate.h \
160 vertexmeshdensity.h \
161 smoothingutilities.h \
162 settingssheet.h \
163 vtkeggridsmoother.h \
164 vtkeggridsmoothpolydatafilter.h \
165 vtkeggridwindowedsincpolydatafilter.h \
166 laplacesmoother.h \
167 deletepickedpoint.h \
168 text3d.h \
169 guipick.h \
170 egvtkinteractorstyle.h \
171 surfacesmoother.h
173 SOURCES = \
174 main.cpp \
176 boundarycondition.cpp \
177 celllayeriterator.cpp \
178 cellneighbouriterator.cpp \
179 correctsurfaceorientation.cpp \
180 createvolumemesh.cpp \
181 deletecells.cpp \
182 deletepickedcell.cpp \
183 deletetetras.cpp \
184 deletevolumegrid.cpp \
185 egvtkobject.cpp \
186 elements.cpp \
187 error.cpp \
188 fixstl.cpp \
189 foamreader.cpp \
190 foamwriter.cpp \
191 geometrytools.cpp \
192 gmshiooperation.cpp \
193 gmshreader.cpp \
194 gmshwriter.cpp \
195 gridsmoother.cpp \
196 iooperation.cpp \
197 iterator.cpp \
198 layeriterator.cpp \
199 neutralwriter.cpp \
200 nodelayeriterator.cpp \
201 operation.cpp \
202 optimisation.cpp \
203 polydatareader.cpp \
204 polymesh.cpp \
205 seedsimpleprismaticlayer.cpp \
206 setboundarycode.cpp \
207 simplefoamwriter.cpp \
208 stlreader.cpp \
209 stlwriter.cpp \
210 swaptriangles.cpp \
211 vtkreader.cpp \
213 vtkEgBoundaryCodesFilter.cxx \
214 vtkEgEliminateShortEdges.cxx \
215 vtkEgExtractVolumeCells.cxx \
216 vtkEgGridFilter.cxx \
217 vtkEgNormalExtrusion.cxx \
218 vtkEgPolyDataToUnstructuredGridFilter.cxx \
220 guicreateboundarylayer.cpp \
221 guideletebadaspecttris.cpp \
222 guidivideboundarylayer.cpp \
223 guieditboundaryconditions.cpp \
224 guiimproveaspectratio.cpp \
225 guimainwindow.cpp \
226 guinormalextrusion.cpp \
227 guiselectboundarycodes.cpp \
228 guisetboundarycode.cpp \
229 guismoothsurface.cpp \
230 guisettingstab.cpp \
231 guisettingsviewer.cpp \
233 guitransform.cpp \
234 vtksmoothpolydatafilter2.cpp \
235 vertexdelegate.cpp \
236 vertexmeshdensity.cpp \
237 smoothingutilities.cpp \
238 settingssheet.cpp \
239 vtkeggridsmoother.cpp \
240 vtkeggridsmoothpolydatafilter.cpp \
241 vtkeggridwindowedsincpolydatafilter.cpp \
242 laplacesmoother.cpp \
243 deletepickedpoint.cpp \
244 text3d.cpp \
245 guipick.cpp \
246 egvtkinteractorstyle.cpp \
247 surfacesmoother.cpp
249 FORMS = \
250 guicreateboundarylayer.ui \
251 guideletebadaspecttris.ui \
252 guidivideboundarylayer.ui \
253 guieditboundaryconditions.ui \
254 guimainwindow.ui \
255 guiimproveaspectratio.ui \
256 guinormalextrusion.ui \
257 guiselectboundarycodes.ui \
258 guisetboundarycode.ui \
259 guismoothsurface.ui \
260 guitransform.ui \
261 guipick.ui
262 SOURCES -= createspecialmapping.cpp
264 HEADERS -= createspecialmapping.h