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