8 # target.path = $$PREFIX/bin
11 # CONFIG += qt release thread
12 # CONFIG += qt debug thread
17 # DEFINES += QT_NO_DEBUG
19 # QMAKE_CXXFLAGS += -DAPP_VERSION=\\\"`date +'\"%a_%b_%d,_%Y\"'`\\\"
20 # ###############################
22 # get "git revision number"
23 ENGRID_VERSION
= \\\"1.1-pre
-release
\\\"
24 win32
:GIT_DESCRIBE
= \\\"\\\"
25 else
:GIT_DESCRIBE
= \\\"$$
system(git describe
)\\\"
26 message(GIT_DESCRIBE
: $$
{GIT_DESCRIBE
} )
27 message(ENGRID_VERSION
: $$
{ENGRID_VERSION
})
28 message(Qt version
: $$
[QT_VERSION
])
29 QMAKE_CXXFLAGS
+= -DENGRID_VERSION
=$$
{ENGRID_VERSION
} \
30 -DGIT_DESCRIBE
=$$
{GIT_DESCRIBE
}
31 message(QMAKE_CXXFLAGS
: $$
{QMAKE_CXXFLAGS
} )
33 # ###############################
34 # to get rid of deprecated header warnings caused by including QVTKwidget.h
35 # DEFINES += VTK_EXCLUDE_STRSTREAM_HEADERS
36 # DEFINES += VTK_LEGACY_REMOVE
37 QMAKE_CXXFLAGS
+= -Wall
39 # QMAKE_CXXFLAGS += -O3
40 # for profiling with gprof
41 # QMAKE_CXXFLAGS += -pg
47 # #######################
49 INCLUDEPATH
+= $
(VTKINCDIR
)
50 LIBS
+= -L$
(VTKLIBDIR
)
52 # #######################
53 # #######################
55 INCLUDEPATH
+= ./netgen_svn
/netgen
-mesher
/netgen
/nglib
56 INCLUDEPATH
+= ./netgen_svn
/netgen
-mesher
/netgen
/libsrc
/general
58 # #######################
59 include(engrid
-standard
.pri
)