-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommon.pri
35 lines (29 loc) · 906 Bytes
/
common.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
# Following are defaults for decnumber library.
# These defines must be defined when library clients are compiled.
# We don't recommend enabling them unless it's specifically required.
#DEFINES += DECNUMDIGITS=34 # default is 34
#DEFINES += DECSUBSET=0 # default is 0
#DEFINES += DECEXTFLAG=1 # default is 1
#DEFINES += DECLITEND=0 # default is 1
CONFIG += debug
if(win32) {
INCLUDEPATH += .
# Remove Qt's defaults
QMAKE_CXXFLAGS -= -Zc:wchar_t-
# Add our defaults
QMAKE_CXXFLAGS += /Zc:forScope /Zc:wchar_t
DEFINES *= _CRT_SECURE_NO_WARNINGS
# Are we in debug mode?
debug {
# Use iterator debugging
#DEFINES *= _SECURE_SCL=1
#DEFINES *= _SECURE_SCL_THROWS=1
#msvc2010 onwards above flags are deprecated.
# Use Run-time checks for stack corruption and uninitialized var use
QMAKE_CXXFLAGS += /RTC1
}
} # end win32
else {
MOC_DIR = moc
OBJECTS_DIR = obj
}