mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-27 03:39:39 +03:00
e1adfde66e
Embedding manifest fails for me after upgrading to VS2017, this fixes it.
31 lines
806 B
Text
31 lines
806 B
Text
strace_win {
|
|
contains(QMAKE_HOST.arch, x86) {
|
|
# i686 arch requires frame pointer preservation
|
|
QMAKE_CXXFLAGS_RELEASE += -Oy-
|
|
QMAKE_CXXFLAGS_DEBUG += -Oy-
|
|
}
|
|
release {
|
|
QMAKE_CXXFLAGS_RELEASE += -Zi
|
|
QMAKE_LFLAGS += "/DEBUG"
|
|
}
|
|
LIBS += dbghelp.lib
|
|
}
|
|
|
|
CONFIG -= embed_manifest_exe
|
|
QMAKE_LFLAGS += "/OPT:REF /OPT:ICF /MANIFEST:EMBED /MANIFESTINPUT:$$quote($${PWD}/src/qbittorrent.exe.manifest)"
|
|
|
|
RC_FILE = qbittorrent.rc
|
|
|
|
# Adapt the lib names/versions accordingly
|
|
CONFIG(debug, debug|release) {
|
|
LIBS += libtorrentd.lib \
|
|
libboost_system-vc90-mt-sgd-1_51.lib
|
|
} else {
|
|
LIBS += libtorrent.lib \
|
|
libboost_system-vc90-mt-s-1_51.lib
|
|
}
|
|
|
|
LIBS += advapi32.lib shell32.lib crypt32.lib User32.lib
|
|
LIBS += libeay32.lib ssleay32.lib
|
|
LIBS += PowrProf.lib
|
|
LIBS += zlib.lib
|