projects
/
qtrapids
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Added buildconf.pri to hold the master-level build options.
[qtrapids]
/
src
/
gui
/
gui.pro
diff --git
a/src/gui/gui.pro
b/src/gui/gui.pro
index
ca6a120
..
63dc4d2
100644
(file)
--- a/
src/gui/gui.pro
+++ b/
src/gui/gui.pro
@@
-1,4
+1,5
@@
include (../../includes.pri)
include (../../includes.pri)
+include (../../buildconf.pri)
SOURCES += DownloadView.cpp \
MainWindow.cpp \
SOURCES += DownloadView.cpp \
MainWindow.cpp \
@@
-13,12
+14,7
@@
TEMPLATE = app
TARGET = qtrapids
TARGET = qtrapids
-CONFIG -= release
-
-CONFIG += debug \
- qtestlib
-
-
+CONFIG += qtestlib
DESTDIR = ../../bin
DESTDIR = ../../bin
@@
-32,3
+28,10
@@
LIBS += -L../../bin \
QMAKE_LFLAGS_DEBUG += -L.
TARGETDEPS += ../../bin/libqtbittorrent.so
QMAKE_LFLAGS_DEBUG += -L.
TARGETDEPS += ../../bin/libqtbittorrent.so
+# Check build mode and print to console
+debug {
+ message( "DEBUG" )
+} else {
+ message( "RELEASE" )
+}
+