+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 += qtestlib
+
+DESTDIR = ../../bin
+
+INCLUDEPATH += ../engine \
+ ../plugins
+
+LIBS += -L../../bin \
+ -lqtbittorrent \
+ -L/home/vaatala/Projects/qtrapids/trunk/bin \
+ -L../engine
+
+QMAKE_LFLAGS_DEBUG += -L.
+TARGETDEPS += ../../bin/libqtbittorrent.so
-CONFIG += debug
+# Check build mode and print to console
+debug {
+ message( "DEBUG" )
+} else {
+ message( "RELEASE" )
+}