From 881e1b47855fefa8e9bca4e5f9fba4b464707ceb Mon Sep 17 00:00:00 2001 From: Till Wimmer Date: Tue, 5 Feb 2019 02:03:44 +0100 Subject: examples: Add direct-tcpip server sample Signed-off-by: Till Wimmer Reviewed-by: Andreas Schneider --- examples/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'examples/CMakeLists.txt') diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 85bd3879..d064fd5d 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -53,6 +53,10 @@ if (UNIX AND NOT WIN32) add_executable(proxy proxy.c) target_compile_options(proxy PRIVATE ${DEFAULT_C_COMPILE_FLAGS}) target_link_libraries(proxy ${LIBSSH_SHARED_LIBRARY} ${ARGP_LIBRARY}) + + add_executable(sshd_direct-tcpip sshd_direct-tcpip.c) + target_compile_options(sshd_direct-tcpip PRIVATE ${DEFAULT_C_COMPILE_FLAGS}) + target_link_libraries(sshd_direct-tcpip ${LIBSSH_SHARED_LIBRARY} ${ARGP_LIBRARY}) endif (WITH_GSSAPI AND GSSAPI_FOUND) add_executable(samplesshd-kbdint samplesshd-kbdint.c) -- cgit v1.2.3