Merge pull request #11963 from an0n666/start-with-windows
[qBittorrent.git] / conf.pri.windows
blobb59cc4b76cb856c30aa6b6cf0b0843de12db9272
1 # Adapt these paths
2 # Point these to the include folders
3 INCLUDEPATH += $$quote(C:/qBittorrent/boost)
4 INCLUDEPATH += $$quote(C:/qBittorrent/libtorrent/include)
5 INCLUDEPATH += $$quote(C:/qBittorrent/zlib/include)
6 INCLUDEPATH += $$quote(C:/qBittorrent/openssl/include)
7 # Point these to the lib folders
8 LIBS += $$quote(-LC:/qBittorrent/boost/stage/lib)
9 LIBS += $$quote(-LC:/qBittorrent/libtorrent/lib)
10 LIBS += $$quote(-LC:/qBittorrent/zlib/lib)
11 LIBS += $$quote(-LC:/qBittorrent/openssl/lib)
13 # Adapt the lib names/versions accordingly
14 # If you want to use Boost auto-linking then disable
15 # BOOST_ALL_NO_LIB below and omit Boost libraries here
16 CONFIG(debug, debug|release) {
17     LIBS += libtorrentd.lib \
18             libboost_system-vc140-mt-sgd-1_64.lib
20 else {
21     LIBS += libtorrent.lib \
22             libboost_system-vc140-mt-s-1_64.lib
24 LIBS += libeay32.lib ssleay32.lib
25 LIBS += zlib.lib
26 # ...or if you use MinGW
27 #CONFIG(debug, debug|release) {
28 #    LIBS += libtorrent-rasterbar \
29 #            libboost_system-mt
31 #else {
32 #    LIBS += libtorrent-rasterbar \
33 #            libboost_system-mt
35 #LIBS += libcrypto libssl
36 #LIBS += libz
38 # Disable to use Boost auto-linking
39 DEFINES += BOOST_ALL_NO_LIB
40 # Use one of the following options
41 DEFINES += BOOST_SYSTEM_STATIC_LINK
42 #DEFINES += BOOST_SYSTEM_DYN_LINK
43 # Enable if encountered build error with boost version <= 1.59
44 #DEFINES += BOOST_NO_CXX11_RVALUE_REFERENCES
46 # Enable if libtorrent was built with this flag defined
47 #DEFINES += TORRENT_NO_DEPRECATE
48 # Enable if linking dynamically against libtorrent
49 #DEFINES += TORRENT_LINKING_SHARED
51 # Enable stack trace support
52 CONFIG += stacktrace
54 win32-msvc* {
55     QMAKE_CXXFLAGS += "/guard:cf"
56     QMAKE_LFLAGS += "/guard:cf"
57     QMAKE_LFLAGS_RELEASE += "/OPT:REF /OPT:ICF"