-
Notifications
You must be signed in to change notification settings - Fork 165
/
LQGlobal.pri
61 lines (53 loc) · 1.09 KB
/
LQGlobal.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
# Config Para
CONFIG(debug, debug|release):{
FILE_POSTFIX = D
DIR_COMPILEMODE = Debug
}
else:CONFIG(release, debug|release):{
FILE_POSTFIX =
DIR_COMPILEMODE = Release
}
win32:{
CONFIG(MinGW, MinGW|MSVC):{
DIR_COMPILER = MinGW
FILE_LIB_PREFIX = lib
FILE_LIB_EXT = .a
}
else:CONFIG(MSVC, MinGW|MSVC):{
DIR_COMPILER = MSVC
FILE_LIB_PREFIX =
FILE_LIB_EXT = .lib
}
DIR_PLATFORM = Win32
FILE_DLL_PREFIX =
FILE_DLL_EXT = .dll
}
else:mac:{
CONFIG(clang, clang):{
DIR_COMPILER = clang
}
DEFINES += MAC
DIR_PLATFORM = MAC
FILE_LIB_PREFIX = lib
FILE_LIB_EXT = .a
FILE_DLL_PREFIX = lib
FILE_DLL_EXT = .so
}
else:linux:{
CONFIG(GCC, GCC|GCC32|GCC64):{
DIR_COMPILER = GCC
}
else:CONFIG(GCC32, GCC|GCC32|GCC64):{
DIR_COMPILER = GCC32
}
else:CONFIG(GCC64, GCC|GCC32|GCC64):{
DIR_COMPILER = GCC64
}
DIR_PLATFORM = Linux
FILE_LIB_PREFIX = lib
FILE_LIB_EXT = .a
FILE_DLL_PREFIX = lib
FILE_DLL_EXT = .so
}
DESTDIR = $$PWD/Bin/$${DIR_PLATFORM}/Client/$${DIR_COMPILER}/$${DIR_COMPILEMODE}
DIR_DEPEND_DEST = $$PWD/Bin/$${DIR_PLATFORM}/Client/$${DIR_COMPILER}/$${DIR_COMPILEMODE}