0b635c52b2
Currently far from passing and I haven't even tried with a leak checker yet. Also bn_test is slow. Change-Id: I4fe2783aa5f7897839ca846062ae7e4a367d2469 Reviewed-on: https://boringssl-review.googlesource.com/4794 Reviewed-by: Adam Langley <agl@google.com>
33 lines
372 B
CMake
33 lines
372 B
CMake
include_directories(. .. ../../include)
|
|
|
|
add_library(
|
|
bio
|
|
|
|
OBJECT
|
|
|
|
bio.c
|
|
bio_mem.c
|
|
buffer.c
|
|
connect.c
|
|
fd.c
|
|
file.c
|
|
hexdump.c
|
|
pair.c
|
|
printf.c
|
|
socket.c
|
|
socket_helper.c
|
|
)
|
|
|
|
add_executable(
|
|
bio_test
|
|
|
|
bio_test.cc
|
|
|
|
$<TARGET_OBJECTS:test_support>
|
|
)
|
|
|
|
target_link_libraries(bio_test crypto)
|
|
if (WIN32)
|
|
target_link_libraries(bio_test ws2_32)
|
|
endif()
|