forked from ngageoint/hootenanny
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Configure.pri.in
41 lines (31 loc) · 919 Bytes
/
Configure.pri.in
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
# @PREFIX@
# @prefix@
MAKEFILE = Makefile.qmake
LIBS += @LIBS@
INCLUDEPATH += $$PWD
QMAKE_CXXFLAGS += @CPPFLAGS@
QMAKE_CXXFLAGS += @DEFS@
QMAKE_CXXFLAGS += -frounding-math -std=c++11
CONFIG += @HAS_NEWMAT@ @HAS_CPPUNIT@ \
@HAS_COVERAGE@ @HAS_SERVICES@ @HAS_STXXL@ @HAS_JOSM@ @HAS_NODEJS@ @HAS_UI_TESTS@ \
@HAS_LIBPOSTAL@ @HAS_LIBPHONENUMBER@
# Default to release mode, this can be overridden in LocalConfig.pri
CONFIG += release
CONFIG -= debug
exists(LocalConfig.pri):include(LocalConfig.pri)
coverage {
CONFIG += debug
CONFIG -= release
QMAKE_CXXFLAGS += -fprofile-arcs -ftest-coverage
# Some help says that --coverage or -lgcov may work too.
QMAKE_LFLAGS += -fprofile-arcs -ftest-coverage
}
debug {
DEFINES += DEBUG
# Runs expensive validation on several data structures to make sure everything is in sync.
#DEFINES += VALIDATE_ON
}
release {
DEFINES -= DEBUG
DEFINES += NDEBUG
}