forked from ElucidataInc/ElMaven
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mzroll.pri
88 lines (73 loc) · 1.84 KB
/
mzroll.pri
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
CONFIG(debug, debug|release){
message("running in debug mode ")
unix:!macx {
QMAKE_CCFLAGS+= -fprofile-arcs -ftest-coverage
QMAKE_CXXFLAGS+= -fprofile-arcs -ftest-coverage
QMAKE_LFLAGS+= -fprofile-arcs -ftest-coverage
MOC_DIR=tmp/
OBJECTS_DIR=tmp/
}
}
QT += sql core xml gui opengl
CONFIG += silent exceptions
# this is important. Used in mzUtils to make use of correct mkdir function
win32 {
message("using win32 config")
DEFINES += MINGW
DEFINES += WIN32
DEFINES += CDFPARSER
DEFINES += ZLIB
LIBS += -lcdfread -lnetcdf -lz
}
unix: {
INCLUDEPATH += /usr/local/include/ $$top_srcdir/3rdparty/obiwarp
QMAKE_LFLAGS += -L/usr/local/lib/ -L$$top_builddir/libs/
LIBS += -lboost_signals -lErrorHandling -lobiwarp
}
#INSTALL_LIBDIR = $$(INSTALL_LIBDIR)
#unix {
# !mac {
# isEmpty(INSTALL_LIBDIR):INSTALL_LIBDIR=lib
#} }
#INSTALL_PREFIX=$$(DESTDIR)$$INSTALL_PREFIX
#DEFINES += INSTALL_LIBDIR=\\\"$$INSTALL_LIBDIR\\\"
#QMAKE_CXXFLAGS_RELEASE += -O3 -Wall -Wno-sign-compare
#CONFIG += no_keywords
#unix: INCLUDEPATH += /usr/lib/x86_64-linux-gnu/
#unix: LIBS += -lboost_signals
#win32: LIBS += -lboost_signals-mt
#
#QT += core
#
#QMAKE_CC = gcc
#QMAKE_CXX = g++
#
#win32-g++:contains(QMAKE_HOST.arch, x86_64):{
# DEFINES -= CDFPARSER
# DEFINES -= ZLIB
# LIBS -= -lz -lcdfread -lnetcdf
#}
#
mac {
# message("using mac config")
# DEFINES += CDFPARSER
# DEFINES += ZLIB
# DEFINES += unix
# LIBS += -lz
# DEFINES += MAC
}
unix {
# message("using unix config")
# DEFINES -= LITTLE_ENDIAN
# DEFINES += UNIX
# DEFINES += CDFPARSER
# DEFINES += ZLIB
# LIBS += -lcdfread -lz
}
##TOPLEVELDIR = $$PWD
##INCLUDEPATH += $$TOPLEVELDIR
#
#INCLUDEPATH += $$PWD
#win32:INCLUDEPATH += "C:/msys64/mingw64/lib"
#
#LIBS += -L$$OUTPUT_DIR/lib -L$$OUTPUT_DIR/plugin