mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-10 23:07:59 +00:00
Cleanup src.pro
This commit is contained in:
parent
39b56ac598
commit
ee9caa4305
27
src/src.pro
27
src/src.pro
@ -6,26 +6,22 @@ CONFIG += qt thread silent
|
||||
CONFIG += c++11
|
||||
DEFINES += BOOST_NO_CXX11_RVALUE_REFERENCES
|
||||
|
||||
# Windows specific configuration
|
||||
# Platform specific configuration
|
||||
win32: include(../winconf.pri)
|
||||
|
||||
# Mac specific configuration
|
||||
macx: include(../macxconf.pri)
|
||||
|
||||
# Unix specific configuration
|
||||
unix:!macx: include(../unixconf.pri)
|
||||
|
||||
# eCS(OS/2) specific configuration
|
||||
os2: include(../os2conf.pri)
|
||||
|
||||
QT += network xml
|
||||
|
||||
nogui {
|
||||
TARGET = qbittorrent-nox
|
||||
QT -= gui
|
||||
DEFINES += DISABLE_GUI
|
||||
TARGET = qbittorrent-nox
|
||||
} else {
|
||||
macx: QT += macextras
|
||||
macx: LIBS += -lobjc
|
||||
TARGET = qbittorrent
|
||||
QT += xml concurrent svg widgets
|
||||
|
||||
CONFIG(static) {
|
||||
DEFINES += QBT_STATIC_QT
|
||||
QTPLUGIN += qico
|
||||
@ -33,16 +29,19 @@ nogui {
|
||||
win32 {
|
||||
QT += winextras
|
||||
}
|
||||
TARGET = qbittorrent
|
||||
macx {
|
||||
QT += macextras
|
||||
LIBS += -lobjc
|
||||
}
|
||||
}
|
||||
nowebui {
|
||||
DEFINES += DISABLE_WEBUI
|
||||
}
|
||||
nowebui: DEFINES += DISABLE_WEBUI
|
||||
strace_win {
|
||||
DEFINES += STACKTRACE_WIN
|
||||
DEFINES += STACKTRACE_WIN_PROJECT_PATH=$$PWD
|
||||
DEFINES += STACKTRACE_WIN_MAKEFILE_PATH=$$OUT_PWD
|
||||
}
|
||||
QT += network xml
|
||||
|
||||
|
||||
CONFIG(debug, debug|release): message(Project is built in DEBUG mode.)
|
||||
CONFIG(release, debug|release): message(Project is built in RELEASE mode.)
|
||||
|
Loading…
Reference in New Issue
Block a user