boringssl/fuzz/CMakeLists.txt
David Benjamin 2ff44b183a Add DTLS fuzzers.
Bug: 124
Change-Id: Iff02be9df2806572e6d3f860b448f598f85778c3
Reviewed-on: https://boringssl-review.googlesource.com/20107
Reviewed-by: David Benjamin <davidben@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
2017-09-07 22:26:50 +00:00

111 lines
1.6 KiB
CMake

include_directories(../include)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-missing-prototypes")
add_executable(
privkey
privkey.cc
)
target_link_libraries(privkey Fuzzer)
target_link_libraries(privkey crypto)
add_executable(
cert
cert.cc
)
target_link_libraries(cert Fuzzer)
target_link_libraries(cert crypto)
add_executable(
spki
spki.cc
)
target_link_libraries(spki Fuzzer)
target_link_libraries(spki crypto)
add_executable(
pkcs8
pkcs8.cc
)
target_link_libraries(pkcs8 Fuzzer)
target_link_libraries(pkcs8 crypto)
add_executable(
server
server.cc
)
target_link_libraries(server Fuzzer)
target_link_libraries(server crypto)
target_link_libraries(server ssl)
add_executable(
client
client.cc
)
target_link_libraries(client Fuzzer)
target_link_libraries(client crypto)
target_link_libraries(client ssl)
add_executable(
dtls_server
dtls_server.cc
)
target_link_libraries(dtls_server Fuzzer)
target_link_libraries(dtls_server crypto)
target_link_libraries(dtls_server ssl)
add_executable(
dtls_client
dtls_client.cc
)
target_link_libraries(dtls_client Fuzzer)
target_link_libraries(dtls_client crypto)
target_link_libraries(dtls_client ssl)
add_executable(
read_pem
read_pem.cc
)
target_link_libraries(read_pem Fuzzer)
target_link_libraries(read_pem crypto)
add_executable(
ssl_ctx_api
ssl_ctx_api.cc
)
target_link_libraries(ssl_ctx_api Fuzzer)
target_link_libraries(ssl_ctx_api crypto)
target_link_libraries(ssl_ctx_api ssl)
add_executable(
session
session.cc
$<TARGET_OBJECTS:test_support>
)
target_link_libraries(session Fuzzer)
target_link_libraries(session crypto)
target_link_libraries(session ssl)