X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fgui%2Fgui.pro;h=63dc4d237486845df725e6bf0f4560d5c06e7bbb;hb=f576091800144d69317250a69d40c711505a4f34;hp=ca6a1207874fefc78638cdbabf0ea609d48bee9b;hpb=6c1ad29679ad40d0aca951c3af76a97ed284e802;p=qtrapids diff --git a/src/gui/gui.pro b/src/gui/gui.pro index ca6a120..63dc4d2 100644 --- a/src/gui/gui.pro +++ b/src/gui/gui.pro @@ -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" ) +} +