Browse Source

- Improved makefile generation

adaptive-webui-19844
Christophe Dumez 18 years ago
parent
commit
d67f141571
  1. 16
      src/src.pro

16
src/src.pro

@ -27,9 +27,9 @@ contains(DEBUG_MODE, 0){
QMAKE_CXXFLAGS_RELEASE += -fwrapv QMAKE_CXXFLAGS_RELEASE += -fwrapv
QMAKE_CXXFLAGS_DEBUG += -fwrapv QMAKE_CXXFLAGS_DEBUG += -fwrapv
LIBS += -lcurl #LIBS += -lcurl
CONFIG += link_pkgconfig #CONFIG += link_pkgconfig
PKGCONFIG += libtorrent #PKGCONFIG += libtorrent
QT += network QT += network
DEFINES += QT_NO_CAST_TO_ASCII DEFINES += QT_NO_CAST_TO_ASCII
@ -50,7 +50,7 @@ contains(DEBUG_MODE, 0){
# Install # Install
unix { unix {
# Man page # Man page
man.files = ../doc/qbittorrent.1.gz man.files = ../doc/qbittorrent.1.gz
man.path = $$PREFIX/share/man/man1/ man.path = $$PREFIX/share/man/man1/
INSTALLS += man INSTALLS += man
@ -63,8 +63,12 @@ unix {
INSTALLS += logos INSTALLS += logos
} }
target.path = $$PREFIX/bin/ exists(../conf.pri) {
INSTALLS += target include(../conf.pri)
# Target
target.path = $$BINDIR
INSTALLS += target
}
RESOURCES = icons.qrc \ RESOURCES = icons.qrc \
lang.qrc \ lang.qrc \

Loading…
Cancel
Save