Added build script of Debian
[qtrapids] / src / gui / gui.pro
index daa701a..3945159 100644 (file)
@@ -1,24 +1,26 @@
+include (../../includes.pri)
+include (../../buildconf.pri)
+
 SOURCES += DownloadView.cpp \
 MainWindow.cpp \
 SeedView.cpp \
- main.cpp
+ main.cpp \
+ PreferencesDialog.cpp
 HEADERS += DownloadView.h \
 MainWindow.h \
-SeedView.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 \
@@ -26,6 +28,12 @@ LIBS += -L../../bin \
   -L../engine
 
 QMAKE_LFLAGS_DEBUG += -L.
-TARGETDEPS += ../engine/liblibqtbittorrent.so \
-  ../../bin/libqtbittorrent.so
+TARGETDEPS += ../../bin/libqtbittorrent.so
+
+# Check build mode and print to console
+debug {
+  message( "DEBUG" )
+} else {
+  message( "RELEASE" )
+}