qBittorrent/winconf-msvc.pri

33 lines
848 B
Text
Raw Normal View History

2015-07-27 10:33:35 +03:00
strace_win {
contains(QMAKE_HOST.arch, x86) {
# i686 arch requires frame pointer preservation
QMAKE_CXXFLAGS_RELEASE += -Oy-
QMAKE_CXXFLAGS_DEBUG += -Oy-
}
2015-07-27 10:33:35 +03:00
release {
QMAKE_CXXFLAGS_RELEASE += -Zi
QMAKE_LFLAGS += "/DEBUG"
}
LIBS += dbghelp.lib
}
CONFIG -= embed_manifest_exe
2017-06-30 18:46:49 +03:00
QMAKE_LFLAGS += "/MANIFEST:EMBED /MANIFESTINPUT:$$quote($${PWD}/src/qbittorrent.exe.manifest) /STACK:0x800000"
QMAKE_LFLAGS_RELEASE += "/OPT:REF /OPT:ICF"
RC_FILE = qbittorrent.rc
2015-07-27 10:33:35 +03:00
# Adapt the lib names/versions accordingly
CONFIG(debug, debug|release) {
LIBS += libtorrentd.lib \
2012-09-15 13:04:27 +04:00
libboost_system-vc90-mt-sgd-1_51.lib
} else {
LIBS += libtorrent.lib \
2012-09-15 13:04:27 +04:00
libboost_system-vc90-mt-s-1_51.lib
}
LIBS += advapi32.lib shell32.lib crypt32.lib User32.lib
2012-09-16 05:15:57 +04:00
LIBS += libeay32.lib ssleay32.lib
LIBS += PowrProf.lib
LIBS += zlib.lib