From 48ba9c9bc1b6845a2c65773e91fd95a82e2f71aa Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Thu, 21 Jan 2010 21:54:20 +0100 Subject: stub of C++ wrapper for libssh --- examples/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'examples/CMakeLists.txt') diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 77eb4173..94d89499 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -1,4 +1,4 @@ -project(libssh-examples C) +project(libssh-examples C CXX) set(examples_SRCS authentication.c @@ -15,11 +15,13 @@ add_executable(libssh_scp libssh_scp.c ${examples_SRCS}) add_executable(scp_download scp_download.c ${examples_SRCS}) add_executable(samplessh sample.c ${examples_SRCS}) add_executable(exec exec.c ${examples_SRCS}) +add_executable(libsshpp libsshpp.cpp) target_link_libraries(libssh_scp ${LIBSSH_SHARED_LIBRARY}) target_link_libraries(scp_download ${LIBSSH_SHARED_LIBRARY}) target_link_libraries(samplessh ${LIBSSH_SHARED_LIBRARY}) target_link_libraries(exec ${LIBSSH_SHARED_LIBRARY}) +target_link_libraries(libsshpp ${LIBSSH_SHARED_LIBRARY}) include_directories( ${LIBSSH_PUBLIC_INCLUDE_DIRS} -- cgit v1.2.3