aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-01-23 21:49:13 +0100
committerAndreas Schneider <asn@cryptomilk.org>2011-01-24 13:55:05 +0100
commit6a3cd6c20f90d3c50799e9452fd6b1350906276d (patch)
treea2e4670a50fab83ea418af5def96c4c849f2524b /examples
parent8a9ce6239ae3588c4a823e7e1b7fe2b185434811 (diff)
downloadlibssh-6a3cd6c20f90d3c50799e9452fd6b1350906276d.tar.gz
libssh-6a3cd6c20f90d3c50799e9452fd6b1350906276d.tar.xz
libssh-6a3cd6c20f90d3c50799e9452fd6b1350906276d.zip
examples: enable exec and senddata on all plattforms.
Diffstat (limited to 'examples')
-rw-r--r--examples/CMakeLists.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index 671d2e43..aeff2016 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -21,12 +21,6 @@ if (LINUX)
add_executable(samplessh sample.c ${examples_SRCS})
target_link_libraries(samplessh ${LIBSSH_SHARED_LIBRARY})
- add_executable(exec exec.c ${examples_SRCS})
- target_link_libraries(exec ${LIBSSH_SHARED_LIBRARY})
-
- add_executable(senddata senddata.c ${examples_SRCS})
- target_link_libraries(senddata ${LIBSSH_SHARED_LIBRARY})
-
add_executable(sshnetcat sshnetcat.c ${examples_SRCS})
target_link_libraries(sshnetcat ${LIBSSH_SHARED_LIBRARY})
@@ -41,6 +35,12 @@ if (LINUX)
endif (WITH_SERVER)
endif (LINUX)
+add_executable(exec exec.c ${examples_SRCS})
+target_link_libraries(exec ${LIBSSH_SHARED_LIBRARY})
+
+add_executable(senddata senddata.c ${examples_SRCS})
+target_link_libraries(senddata ${LIBSSH_SHARED_LIBRARY})
+
add_executable(libsshpp libsshpp.cpp)
target_link_libraries(libsshpp ${LIBSSH_SHARED_LIBRARY})