simplified blayer generation
[engrid.git] / src / engrid.pro
blobe194303f51757e2e09fe809c88432421a222fbbb
1 TEMPLATE = app
2 LANGUAGE = C++
3 TARGET = engrid
5 # install
6 target.path = /usr/bin
8 # target.path = $$PREFIX/bin
9 INSTALLS += target
11 # CONFIG += qt release thread
12 # CONFIG += qt debug thread
13 CONFIG += qt \
14 debug_and_release \
15 thread
17 # DEFINES += QT_NO_DEBUG
18 # DEFINES += QT_DEBUG
19 # QMAKE_CXXFLAGS += -DAPP_VERSION=\\\"`date +'\"%a_%b_%d,_%Y\"'`\\\"
20 # ###############################
21 # VERSION INFO
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
42 # QMAKE_LFLAGS += -pg
43 QT += xml \
44 network \
45 opengl
47 # #######################
48 # VTK
49 INCLUDEPATH += $(VTKINCDIR)
50 LIBS += -L$(VTKLIBDIR)
52 # #######################
53 # #######################
54 # NETGEN
55 INCLUDEPATH += ./netgen_svn/netgen-mesher/netgen/nglib
56 INCLUDEPATH += ./netgen_svn/netgen-mesher/netgen/libsrc/general
58 # #######################
59 include(engrid-standard.pri)