- Added buildconf.pri to hold the master-level build options.
[qtrapids] / src / gui / gui.pro
index ca6a120..63dc4d2 100644 (file)
@@ -1,4 +1,5 @@
 include (../../includes.pri)
+include (../../buildconf.pri)
 
 SOURCES += DownloadView.cpp \
 MainWindow.cpp \
@@ -13,12 +14,7 @@ TEMPLATE = app
 
 TARGET = qtrapids
 
-CONFIG -= release
-
-CONFIG += debug \
- qtestlib
-
-
+CONFIG += qtestlib
 
 DESTDIR = ../../bin
 
@@ -32,3 +28,10 @@ LIBS += -L../../bin \
 QMAKE_LFLAGS_DEBUG += -L.
 TARGETDEPS += ../../bin/libqtbittorrent.so
 
+# Check build mode and print to console
+debug {
+  message( "DEBUG" )
+} else {
+  message( "RELEASE" )
+}
+