-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathboost.pri
37 lines (27 loc) · 876 Bytes
/
boost.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
BOOST_PATH = $$PWD/../3rdLibs/boost/boost_1_62_0
INCLUDEPATH += $${BOOST_PATH}
LIB_SUFFIX = a
win32-msvc2013{
LIB_SUFFIX = lib
!contains(QMAKE_TARGET.arch, x86_64) {
message("boost x86 build confirm")
LIBS += -L$${BOOST_PATH}/lib32-msvc-12.0
## Windows x86 (32bit) specific build here
}else{
message("boost x64 build confirm")
LIBS += -L$${BOOST_PATH}/lib64-msvc-12.0
## Windows x64 (64bit) specific build here
}
} #win32 end
win32-msvc2015{
LIB_SUFFIX = lib
!contains(QMAKE_TARGET.arch, x86_64) {
message("boost x86 build confirm")
LIBS += -L$${BOOST_PATH}/lib32-msvc-14.0
## Windows x86 (32bit) specific build here
}else{
message("boost x64 build confirm")
LIBS += -L$${BOOST_PATH}/lib64-msvc-14.0
## Windows x64 (64bit) specific build here
}
} #win32 end