diff --git a/Hive.pro b/Hive.pro new file mode 100644 index 00000000..800a6dae --- /dev/null +++ b/Hive.pro @@ -0,0 +1,6 @@ +TEMPLATE=subdirs + +SUBDIRS += libhive server + +server.depends = libhive + diff --git a/libhive/libhive.pro b/libhive/libhive.pro new file mode 100644 index 00000000..c580d02c --- /dev/null +++ b/libhive/libhive.pro @@ -0,0 +1,12 @@ +TARGET = hive +TEMPLATE = lib + +CONFIG += static + +SOURCES += device.cpp \ + deviceclass.cpp \ + deviceplugin.cpp + +HEADERS += device.h \ + deviceclass.h \ + deviceplugin.h diff --git a/server/server.pro b/server/server.pro new file mode 100644 index 00000000..afc2ca81 --- /dev/null +++ b/server/server.pro @@ -0,0 +1,21 @@ +include(../common.pri) + +TARGET = hive +TEMPLATE = app + +INCLUDEPATH += ../libhive + +QT += network + +LIBS += -L../libhive/ -lhive + +SOURCES += main.cpp \ + hivecore.cpp \ + jsonrpcserver.cpp \ + radio433.cpp \ + tcpserver.cpp + +HEADERS += hivecore.h \ + jsonrpcserver.h \ + radio433.h \ + tcpserver.h