boringssl/ssl/test/CMakeLists.txt
Steven Valdez e5388e097a Add handshaker as run_tests dependency.
Change-Id: I545a61794d6dbb187d973351da6d54e33a608d0d
Reviewed-on: https://boringssl-review.googlesource.com/30244
Reviewed-by: Matt Braithwaite <mab@google.com>
2018-08-01 23:47:11 +00:00

39 lines
669 B
CMake

include_directories(../../include)
add_executable(
bssl_shim
async_bio.cc
bssl_shim.cc
handshake_util.cc
packeted_bio.cc
settings_writer.cc
test_config.cc
test_state.cc
$<TARGET_OBJECTS:test_support>
)
target_link_libraries(bssl_shim ssl crypto)
if(UNIX AND NOT APPLE AND NOT ANDROID)
add_executable(
handshaker
async_bio.cc
handshake_util.cc
handshaker.cc
packeted_bio.cc
settings_writer.cc
test_config.cc
test_state.cc
$<TARGET_OBJECTS:test_support>
)
target_link_libraries(handshaker ssl crypto)
else()
# Declare a dummy target for run_tests to depend on.
add_custom_target(handshaker)
endif()