diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2011-01-23 21:49:13 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-01-24 13:55:05 +0100 |
commit | 6a3cd6c20f90d3c50799e9452fd6b1350906276d (patch) | |
tree | a2e4670a50fab83ea418af5def96c4c849f2524b | |
parent | 8a9ce6239ae3588c4a823e7e1b7fe2b185434811 (diff) | |
download | libssh-6a3cd6c20f90d3c50799e9452fd6b1350906276d.tar.gz libssh-6a3cd6c20f90d3c50799e9452fd6b1350906276d.tar.xz libssh-6a3cd6c20f90d3c50799e9452fd6b1350906276d.zip |
examples: enable exec and senddata on all plattforms.
-rw-r--r-- | examples/CMakeLists.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 671d2e4..aeff201 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}) |