mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-12-22 18:34:25 +01:00
Improved directory structure
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
This commit is contained in:
parent
4366e117d1
commit
60ed23486b
@ -58,30 +58,30 @@ find_package (Threads)
|
|||||||
find_package(Qt5Widgets)
|
find_package(Qt5Widgets)
|
||||||
|
|
||||||
set(LIBDOORLOCK_SRCS
|
set(LIBDOORLOCK_SRCS
|
||||||
src/clientmessage.cpp
|
lib/clientmessage.cpp
|
||||||
src/clientmessage.h
|
lib/clientmessage.h
|
||||||
src/daemon.cpp
|
lib/door.cpp
|
||||||
src/daemon.h
|
lib/door.h
|
||||||
src/door.cpp
|
lib/doormessage.h
|
||||||
src/door.h
|
lib/logger.cpp
|
||||||
src/doormessage.h
|
lib/logger.h
|
||||||
src/logger.cpp
|
lib/logic.cpp
|
||||||
src/logger.h
|
lib/logic.h
|
||||||
src/logic.cpp
|
lib/response.cpp
|
||||||
src/logic.h
|
lib/response.h
|
||||||
src/response.cpp
|
lib/util.cpp
|
||||||
src/response.h
|
lib/util.h)
|
||||||
src/util.cpp
|
|
||||||
src/util.h)
|
|
||||||
|
|
||||||
set(DOORLOCKD_SRCS
|
set(DOORLOCKD_SRCS
|
||||||
src/doorlockd.cpp)
|
daemon/daemon.cpp
|
||||||
|
daemon/daemon.h
|
||||||
|
daemon/doorlockd.cpp)
|
||||||
|
|
||||||
set(DOORLOCK_CLIENT_SRCS
|
set(DOORLOCK_CLIENT_SRCS
|
||||||
src/qrwidget.cpp
|
client/qrwidget.cpp
|
||||||
src/qrwidget.h
|
client/qrwidget.h
|
||||||
src/doorlock-client.cpp
|
client/doorlock-client.cpp
|
||||||
src/mainwindow.h)
|
client/mainwindow.h)
|
||||||
|
|
||||||
add_library(doorlock STATIC ${LIBDOORLOCK_SRCS})
|
add_library(doorlock STATIC ${LIBDOORLOCK_SRCS})
|
||||||
target_link_libraries(doorlock jsoncpp ldap ${Boost_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
target_link_libraries(doorlock jsoncpp ldap ${Boost_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
||||||
|
@ -6,10 +6,11 @@
|
|||||||
#include <boost/asio.hpp>
|
#include <boost/asio.hpp>
|
||||||
#include <boost/program_options.hpp>
|
#include <boost/program_options.hpp>
|
||||||
|
|
||||||
#include "clientmessage.h"
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "logger.h"
|
|
||||||
#include "response.h"
|
#include "../lib/clientmessage.h"
|
||||||
|
#include "../lib/logger.h"
|
||||||
|
#include "../lib/response.h"
|
||||||
|
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
|
|
@ -10,10 +10,11 @@
|
|||||||
|
|
||||||
#include <json/json.h>
|
#include <json/json.h>
|
||||||
|
|
||||||
#include "daemon.h"
|
#include "../lib/logic.h"
|
||||||
|
#include "../lib/util.h"
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "logic.h"
|
#include "daemon.h"
|
||||||
#include "util.h"
|
|
||||||
|
|
||||||
namespace po = boost::program_options;
|
namespace po = boost::program_options;
|
||||||
using boost::asio::ip::tcp;
|
using boost::asio::ip::tcp;
|
Loading…
Reference in New Issue
Block a user