Add MinGW-specific project file (sledgehammer999)

This commit is contained in:
Christophe Dumez 2011-03-23 17:02:26 +00:00
commit 188a8ae4f5
6 changed files with 69 additions and 19 deletions

21
winconf-mingw.pri Normal file
View file

@ -0,0 +1,21 @@
RC_FILE = qbittorrent_mingw.rc
# Enable Wide characters
DEFINES += TORRENT_USE_WPATH
#Adapt the lib names/versions accordingly
CONFIG(debug, debug|release) {
LIBS += libtorrent \
libboost_system-mgw45-mt-d-1_46_1 \
libboost_filesystem-mgw45-mt-d-1_46_1 \
libboost_thread-mgw45-mt-d-1_46_1
} else {
LIBS += libtorrent \
libboost_system-mgw45-mt-1_46_1 \
libboost_filesystem-mgw45-mt-1_46_1 \
libboost_thread-mgw45-mt-1_46_1
}
LIBS += libadvapi32 libshell32
LIBS += libcrypto.dll libssl.dll libwsock32 libws2_32 libz libiconv.dll
LIBS += libpowrprof