1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-06-02 03:41:34 +03:00

cmake: Add SERVER_TESTING option

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Andreas Schneider 2018-06-29 10:49:14 +02:00
parent 946f8f64ef
commit d971983d5e
2 changed files with 3 additions and 2 deletions

View File

@ -13,6 +13,7 @@ option(WITH_PCAP "Compile with Pcap generation support" ON)
option(WITH_INTERNAL_DOC "Compile doxygen internal documentation" OFF) option(WITH_INTERNAL_DOC "Compile doxygen internal documentation" OFF)
option(UNIT_TESTING "Build with unit tests" OFF) option(UNIT_TESTING "Build with unit tests" OFF)
option(CLIENT_TESTING "Build with client tests; requires openssh" OFF) option(CLIENT_TESTING "Build with client tests; requires openssh" OFF)
option(SERVER_TESTING "Build with server tests; requires openssh and dropbear" OFF)
option(WITH_BENCHMARKS "Build benchmarks tools" OFF) option(WITH_BENCHMARKS "Build benchmarks tools" OFF)
option(WITH_EXAMPLES "Build examples" ON) option(WITH_EXAMPLES "Build examples" ON)
option(WITH_NACL "Build with libnacl (curve25519)" ON) option(WITH_NACL "Build with libnacl (curve25519)" ON)

View File

@ -135,9 +135,9 @@ if (WITH_BENCHMARKS)
add_subdirectory(benchmarks) add_subdirectory(benchmarks)
endif (WITH_BENCHMARKS) endif (WITH_BENCHMARKS)
if (WITH_SERVER) if (WITH_SERVER AND SERVER_TESTING)
add_subdirectory(pkd) add_subdirectory(pkd)
endif (WITH_SERVER) endif (WITH_SERVER AND SERVER_TESTING)
if (FUZZ_TESTING) if (FUZZ_TESTING)
add_subdirectory(fuzz) add_subdirectory(fuzz)