Added Q_FUNC_INFO macros to some functions.
[qtrapids] / src / engine / engine.pro
index 2344e7e..0c1c471 100644 (file)
@@ -1,20 +1,35 @@
+include (../../includes.pri)
+include (../../buildconf.pri)
 
 TEMPLATE = lib
 
-CONFIG += dll \
- debug
+CONFIG += dll
+
 
 VERSION = 0.1
 
-HEADERS += AlertWaiterThread.h
+HEADERS += AlertWaiterThread.h \
+ QBittorrentSession.h \
+ QTorrentHandle.h
 
-SOURCES += AlertWaiterThread.cpp
+SOURCES += AlertWaiterThread.cpp \
+ QBittorrentSession.cpp \
+ QTorrentHandle.cpp
 
 QT -= gui
 
-CONFIG -= release
-
 TARGET = qtbittorrent
 
 DESTDIR = ../../bin
 
+LIBS += -ltorrent-rasterbar \
+  -lboost_filesystem-mt \
+  -lboost_date_time-mt \
+  -lboost_thread-mt
+
+# Check build mode and print result in console
+debug {
+  message( "DEBUG" )
+} else {
+  message( "RELEASE" )
+}