Added build script of Debian
[qtrapids] / src / gui / gui.pro
index ca6a120..3945159 100644 (file)
@@ -1,4 +1,5 @@
 include (../../includes.pri)
+include (../../buildconf.pri)
 
 SOURCES += DownloadView.cpp \
 MainWindow.cpp \
@@ -9,20 +10,17 @@ HEADERS += DownloadView.h \
 MainWindow.h \
 SeedView.h \
  PreferencesDialog.h
+
 TEMPLATE = app
 
 TARGET = qtrapids
 
-CONFIG -= release
-
-CONFIG += debug \
- qtestlib
-
-
+CONFIG += qtestlib
 
 DESTDIR = ../../bin
 
-INCLUDEPATH += ../engine
+INCLUDEPATH += ../engine \
+       ../plugins
 
 LIBS += -L../../bin \
   -lqtbittorrent \
@@ -32,3 +30,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" )
+}
+