mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-07-29 13:01:13 +03:00
examples: enable exec and senddata on all plattforms.
This commit is contained in:
@ -21,12 +21,6 @@ if (LINUX)
|
|||||||
add_executable(samplessh sample.c ${examples_SRCS})
|
add_executable(samplessh sample.c ${examples_SRCS})
|
||||||
target_link_libraries(samplessh ${LIBSSH_SHARED_LIBRARY})
|
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})
|
add_executable(sshnetcat sshnetcat.c ${examples_SRCS})
|
||||||
target_link_libraries(sshnetcat ${LIBSSH_SHARED_LIBRARY})
|
target_link_libraries(sshnetcat ${LIBSSH_SHARED_LIBRARY})
|
||||||
|
|
||||||
@ -41,6 +35,12 @@ if (LINUX)
|
|||||||
endif (WITH_SERVER)
|
endif (WITH_SERVER)
|
||||||
endif (LINUX)
|
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)
|
add_executable(libsshpp libsshpp.cpp)
|
||||||
target_link_libraries(libsshpp ${LIBSSH_SHARED_LIBRARY})
|
target_link_libraries(libsshpp ${LIBSSH_SHARED_LIBRARY})
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user