2010-12-19 19:29:17 +03:00
|
|
|
project(libssh-benchmarks C)
|
|
|
|
|
|
|
|
set(benchmarks_SRCS
|
2011-08-29 21:13:24 +04:00
|
|
|
bench_scp.c bench_sftp bench_raw.c benchmarks.c latency.c
|
2010-12-19 19:29:17 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
${LIBSSH_PUBLIC_INCLUDE_DIRS}
|
|
|
|
)
|
|
|
|
|
2010-12-28 04:18:27 +03:00
|
|
|
add_executable(benchmarks ${benchmarks_SRCS})
|
2010-12-19 19:29:17 +03:00
|
|
|
|
2010-12-28 04:18:27 +03:00
|
|
|
target_link_libraries(benchmarks ${LIBSSH_SHARED_LIBRARY})
|
2010-12-19 19:29:17 +03:00
|
|
|
|
|
|
|
include_directories(
|
|
|
|
${LIBSSH_PUBLIC_INCLUDE_DIRS}
|
|
|
|
${CMAKE_BINARY_DIR}
|
|
|
|
)
|
|
|
|
|
|
|
|
if (WITH_SFTP)
|
|
|
|
endif (WITH_SFTP)
|