-
Notifications
You must be signed in to change notification settings - Fork 0
/
win.pri
44 lines (38 loc) · 1.66 KB
/
win.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
# If you rather want to link against your own, specify DUBO_EXTERNAL, a directory that must contain include and lib folders with the necessary dependencies
# Note this will be used BEFORE any other manually specified source
CONFIG(debug, debug|release){
contains(QMAKE_CC, cl){
DUBO_EXTERNAL = C:/dubo/buildd-deploy/msvc/debug/$${DUBO_LINK_TYPE}
}else{
DUBO_EXTERNAL = C:/dubo/buildd-deploy/gcc/debug/$${DUBO_LINK_TYPE}
}
}else{
contains(QMAKE_CC, cl){
DUBO_EXTERNAL = C:/dubo/buildd-deploy/msvc/release/$${DUBO_LINK_TYPE}
}else{
DUBO_EXTERNAL = C:/dubo/buildd-deploy/gcc/release/$${DUBO_LINK_TYPE}
}
}
# Not specifying either means your third-party are already installed system-wide.
# Where to output the final build (will default to buildd/$$platform/$$compiler-$$qtmajorversion-$$linktype-$$buildtype) if left empty
DUBO_DESTDIR =
# Flags to use in order to link to the third-party (lib only)
contains(QMAKE_CC, cl){
CONFIG(debug, debug|release){
DUBO_LIBS = -llibtorrent -llibboost_system-vc100-mt-gd-1_53
}else{
DUBO_LIBS = -llibtorrent -llibboost_system-vc100-mt-1_53
}
}else{
CONFIG(debug, debug|release){
# XXX Depends on boost layout... using system for now
# DUBO_LIBS = -ltorrent -lboost_system-mgw47-mt-d-1_53 -lws2_32 -lwsock32
DUBO_LIBS = -ltorrent -lboost_system -lws2_32 -lwsock32
}else{
# Depends on boost layout...
# DUBO_LIBS = -ltorrent -lboost_system-mgw47-mt-1_53 -lws2_32 -lwsock32
DUBO_LIBS = -ltorrent -lboost_system -lws2_32 -lwsock32
}
}
# Special include paths (appended to external deps, if any) (lib only)
DUBO_INC = include/boost-1_53