Adopt a subset of semantic versioning notation
[qBittorrent.git] / conf.pri.windows
blob2d1110e8a0ba6424374cf137ba0c4bccf93b3509
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 LIBS += libcrypto.lib libssl.lib libtorrent.lib zlib.lib
17 CONFIG(debug, debug|release) {
18     LIBS += boost_system-vc140-mt-d.lib
20 else {
21     LIBS += boost_system-vc140-mt.lib
24 # ...or if you use MinGW
25 #LIBS += libcrypto libssl libz
26 #CONFIG(debug, debug|release) {
27 #    LIBS += libtorrent-rasterbar \
28 #            libboost_system-mt
30 #else {
31 #    LIBS += libtorrent-rasterbar \
32 #            libboost_system-mt
35 # Disable to use Boost auto-linking
36 DEFINES += BOOST_ALL_NO_LIB
37 # Use one of the following options
38 DEFINES += BOOST_SYSTEM_STATIC_LINK
39 #DEFINES += BOOST_SYSTEM_DYN_LINK
40 # Enable if encountered build error with boost version <= 1.59
41 #DEFINES += BOOST_NO_CXX11_RVALUE_REFERENCES
43 # Enable if libtorrent was built with this flag defined
44 #DEFINES += TORRENT_NO_DEPRECATE
45 # Enable if linking dynamically against libtorrent
46 #DEFINES += TORRENT_LINKING_SHARED
48 # Enable stack trace support
49 CONFIG += stacktrace
51 win32-msvc* {
52     QMAKE_CXXFLAGS += "/guard:cf"
53     QMAKE_LFLAGS += "/guard:cf"
54     QMAKE_LFLAGS_RELEASE += "/OPT:REF /OPT:ICF"