1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-12-22 10:24:26 +01:00

Added stub for doorlock-client

Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
This commit is contained in:
Ralf Ramsauer 2015-09-24 21:22:51 +02:00
parent 9e4de23dff
commit 9b58de4b5d
18 changed files with 29 additions and 18 deletions

View File

@ -51,29 +51,36 @@ include_directories(${JSON_INCLUDE_DIR})
find_package (Threads) find_package (Threads)
set(SRCS set(DOORLOCKD_SRCS
clientmessage.cpp src/clientmessage.cpp
clientmessage.h src/clientmessage.h
daemon.cpp src/daemon.cpp
daemon.h src/daemon.h
door.cpp src/door.cpp
door.h src/door.h
doormessage.h src/doormessage.h
logger.cpp src/logger.cpp
logger.h src/logger.h
logic.cpp src/logic.cpp
logic.h src/logic.h
response.cpp src/response.cpp
response.h src/response.h
util.cpp src/util.cpp
util.h src/util.h
doorlockd.cpp src/doorlockd.cpp
) )
add_executable(doorlockd ${SRCS}) set(DOORLOCK_CLIENT_SRCS
src/doorlock-client.cpp
)
add_executable(doorlockd ${DOORLOCKD_SRCS})
target_link_libraries(doorlockd jsoncpp ldap ${Boost_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries(doorlockd jsoncpp ldap ${Boost_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
add_executable(doorlock-client ${DOORLOCK_CLIENT_SRCS})
target_link_libraries(doorlock-client jsoncpp)
install(TARGETS doorlockd DESTINATION sbin/) install(TARGETS doorlockd DESTINATION sbin/)
install(FILES img/template.png DESTINATION share/doorlockd/) install(FILES img/template.png DESTINATION share/doorlockd/)
install(DIRECTORY scripts/ DESTINATION share/doorlockd/ install(DIRECTORY scripts/ DESTINATION share/doorlockd/

View File

@ -0,0 +1,4 @@
int main(void)
{
return 0;
}