summaryrefslogtreecommitdiffstats
path: root/src/protocol/protocol.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocol/protocol.pro')
-rw-r--r--src/protocol/protocol.pro45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/protocol/protocol.pro b/src/protocol/protocol.pro
new file mode 100644
index 0000000..c9ad254
--- /dev/null
+++ b/src/protocol/protocol.pro
@@ -0,0 +1,45 @@
+TEMPLATE = lib
+
+TARGET = QstProtocol
+TARGETPATH = QtSystemTest
+
+TEMPLATE = lib
+
+CONFIG += no_clean qt
+QT += core
+
+SOURCES += \
+ qstprotocol.cpp \
+ qstconnection.cpp \
+ qstconnectionmanager.cpp
+
+PUBLIC_HEADERS += \
+ qstprotocol.h \
+ qstconnection.h \
+ qstconnectionmanager.h \
+ qstglobal.h \
+ qstdebug.h \
+ QstProtocol \
+ QstConnection \
+ QstConnectionManager \
+ QstDebug
+
+HEADERS = $$PUBLIC_HEADERS
+
+# Installing libs and headers into Qt lib
+includes.files = $$PUBLIC_HEADERS
+includes.path = $$[QT_INSTALL_HEADERS]/$$TARGETPATH
+
+target.path = $$[QT_INSTALL_LIBS]
+
+INSTALLS += includes target
+
+# Building so that other libs in project can access this lib
+DESTDIR = ../../lib
+INCLUDEDESTDIR = $$OUT_PWD/../../include/$$TARGETPATH
+includedir.target = dummytarget
+includedir.commands = (mkdir -p $$INCLUDEDESTDIR && cd $$PWD && cp $$PUBLIC_HEADERS $$INCLUDEDESTDIR/)
+
+QMAKE_EXTRA_TARGETS += includedir
+
+PRE_TARGETDEPS += dummytarget