Easier compilation on Win32 using MinGW

This commit is contained in:
Christophe Dumez
2011-03-23 17:06:15 +00:00
parent 8d03b034c2
commit cfd135856b
7 changed files with 70 additions and 19 deletions

21
winconf-msvc.pri Normal file
View File

@@ -0,0 +1,21 @@
RC_FILE = qbittorrent.rc
# Enable Wide characters
DEFINES += TORRENT_USE_WPATH
#Adapt the lib names/versions accordingly
CONFIG(debug, debug|release) {
LIBS += libtorrentd.lib \
libboost_system-vc90-mt-gd.lib \
libboost_filesystem-vc90-mt-gd.lib \
libboost_thread-vc90-mt-gd.lib
} else {
LIBS += libtorrent.lib \
libboost_system-vc90-mt.lib \
libboost_filesystem-vc90-mt.lib \
libboost_thread-vc90-mt.lib
}
LIBS += advapi32.lib shell32.lib
LIBS += libeay32MD.lib ssleay32MD.lib
LIBS += PowrProf.lib