2015-07-27 15:33:35 +08:00
|
|
|
strace_win {
|
|
|
|
contains(QMAKE_HOST.arch, x86) {
|
2013-03-03 06:52:51 +08:00
|
|
|
# i686 arch requires frame pointer preservation
|
|
|
|
QMAKE_CXXFLAGS_RELEASE += -Oy-
|
|
|
|
QMAKE_CXXFLAGS_DEBUG += -Oy-
|
|
|
|
}
|
2015-07-27 15:33:35 +08:00
|
|
|
release {
|
2013-03-03 06:52:51 +08:00
|
|
|
QMAKE_CXXFLAGS_RELEASE += -Zi
|
|
|
|
QMAKE_LFLAGS += "/DEBUG"
|
|
|
|
}
|
|
|
|
LIBS += dbghelp.lib
|
|
|
|
}
|
|
|
|
|
2013-07-22 02:52:43 +08:00
|
|
|
QMAKE_LFLAGS += "/OPT:REF /OPT:ICF"
|
|
|
|
|
2011-03-24 01:02:26 +08:00
|
|
|
RC_FILE = qbittorrent.rc
|
|
|
|
|
2015-07-27 15:33:35 +08:00
|
|
|
# Adapt the lib names/versions accordingly
|
2011-03-24 01:02:26 +08:00
|
|
|
CONFIG(debug, debug|release) {
|
|
|
|
LIBS += libtorrentd.lib \
|
2012-09-15 17:04:27 +08:00
|
|
|
libboost_system-vc90-mt-sgd-1_51.lib
|
2011-03-24 01:02:26 +08:00
|
|
|
} else {
|
|
|
|
LIBS += libtorrent.lib \
|
2012-09-15 17:04:27 +08:00
|
|
|
libboost_system-vc90-mt-s-1_51.lib
|
2011-03-24 01:02:26 +08:00
|
|
|
}
|
|
|
|
|
2013-09-27 18:07:47 +08:00
|
|
|
LIBS += advapi32.lib shell32.lib crypt32.lib User32.lib
|
2012-09-16 09:15:57 +08:00
|
|
|
LIBS += libeay32.lib ssleay32.lib
|
2011-03-24 01:02:26 +08:00
|
|
|
LIBS += PowrProf.lib
|
2013-03-11 03:50:03 +08:00
|
|
|
LIBS += zlib.lib
|