-
Notifications
You must be signed in to change notification settings - Fork 5
/
common.pri
43 lines (37 loc) · 983 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
35
36
37
38
39
40
41
42
43
# Includes common configuration for all subdirectory .pro files.
INCLUDEPATH += . ..
WARNINGS += -Wall
TEMPLATE = lib
# The following keeps the generated files at least somewhat separate from the source files.
CONFIG(debug, debug|release) {
DESTDIR = build/debug
COMPONENTSPATH = build/debug
} else {
DESTDIR = build/release
COMPONENTSPATH = build/release
}
OBJECTS_DIR = $$DESTDIR/.obj
MOC_DIR = $$DESTDIR/.moc
RCC_DIR = $$DESTDIR/.qrc
UI_DIR = $$DESTDIR/.ui
win32 {
CONFIG(debug, debug|release) {
PRAALINE_LIB_POSTFIX = d$${PRAALINE_FILE_VER}
} else {
PRAALINE_LIB_POSTFIX = $${PRAALINE_FILE_VER}
}
LIB_SUFFIX = a
}
unix {
CONFIG(debug, debug|release) {
PRAALINE_LIB_POSTFIX = d$${PRAALINE_FILE_VER}
} else {
PRAALINE_LIB_POSTFIX = $${PRAALINE_FILE_VER}
}
LIB_SUFFIX = so
}
mac {
LIB_SUFFIX = dylib
}
DEFINES += USE_PRAALINE_CORE_NAMESPACE
# DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x050F00