aboutsummaryrefslogtreecommitdiff
path: root/examples/CMakeLists.txt
diff options
context:
space:
mode:
authorTill Wimmer <g4-lisz@tonarchiv.ch>2019-02-05 02:03:44 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-02-20 16:39:31 +0100
commit881e1b47855fefa8e9bca4e5f9fba4b464707ceb (patch)
tree933b57f605174a8898d20f52a1bed251f0998a79 /examples/CMakeLists.txt
parentf890b09edbedf1f27284ebcd1fc7770641cb2231 (diff)
downloadlibssh-881e1b47855fefa8e9bca4e5f9fba4b464707ceb.tar.gz
libssh-881e1b47855fefa8e9bca4e5f9fba4b464707ceb.tar.xz
libssh-881e1b47855fefa8e9bca4e5f9fba4b464707ceb.zip
examples: Add direct-tcpip server sample
Signed-off-by: Till Wimmer <g4-lisz@tonarchiv.ch> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'examples/CMakeLists.txt')
-rw-r--r--examples/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
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)