mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-12-22 02:14:26 +01:00
Added stub for doorlock-client
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
This commit is contained in:
parent
9e4de23dff
commit
9b58de4b5d
@ -51,29 +51,36 @@ include_directories(${JSON_INCLUDE_DIR})
|
||||
|
||||
find_package (Threads)
|
||||
|
||||
set(SRCS
|
||||
clientmessage.cpp
|
||||
clientmessage.h
|
||||
daemon.cpp
|
||||
daemon.h
|
||||
door.cpp
|
||||
door.h
|
||||
doormessage.h
|
||||
logger.cpp
|
||||
logger.h
|
||||
logic.cpp
|
||||
logic.h
|
||||
response.cpp
|
||||
response.h
|
||||
util.cpp
|
||||
util.h
|
||||
set(DOORLOCKD_SRCS
|
||||
src/clientmessage.cpp
|
||||
src/clientmessage.h
|
||||
src/daemon.cpp
|
||||
src/daemon.h
|
||||
src/door.cpp
|
||||
src/door.h
|
||||
src/doormessage.h
|
||||
src/logger.cpp
|
||||
src/logger.h
|
||||
src/logic.cpp
|
||||
src/logic.h
|
||||
src/response.cpp
|
||||
src/response.h
|
||||
src/util.cpp
|
||||
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})
|
||||
|
||||
add_executable(doorlock-client ${DOORLOCK_CLIENT_SRCS})
|
||||
target_link_libraries(doorlock-client jsoncpp)
|
||||
|
||||
install(TARGETS doorlockd DESTINATION sbin/)
|
||||
install(FILES img/template.png DESTINATION share/doorlockd/)
|
||||
install(DIRECTORY scripts/ DESTINATION share/doorlockd/
|
||||
|
4
doorlockd/src/doorlock-client.cpp
Normal file
4
doorlockd/src/doorlock-client.cpp
Normal file
@ -0,0 +1,4 @@
|
||||
int main(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user