boringssl/fuzz/CMakeLists.txt
David Benjamin 3ba4fb47e6 Build the fuzzers with -Wno-missing-prototypes.
There's not much point in enforcing this on these files, and clang
complains about LLVMFuzzerTestOneInput.

Change-Id: Ieae3287d7f7cd9736efd2b9fc11d0e6d89fcfa43
Reviewed-on: https://boringssl-review.googlesource.com/17806
Reviewed-by: Steven Valdez <svaldez@google.com>
Commit-Queue: Steven Valdez <svaldez@google.com>
2017-07-14 20:10:47 +00:00

91 lines
1.3 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(
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)