2a0f3420f7
Win32 still has assembly issues and bssl wants to select() on both sockets and stdin (doesn't work on Windows). But this is a start. Change-Id: Iafc5215be281aed836c5ac2dc8b379399848a2c2 Reviewed-on: https://boringssl-review.googlesource.com/2090 Reviewed-by: Adam Langley <agl@google.com>
32 lines
334 B
CMake
32 lines
334 B
CMake
include_directories(. .. ../../include)
|
|
|
|
add_library(
|
|
bio
|
|
|
|
OBJECT
|
|
|
|
bio.c
|
|
bio_error.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.c
|
|
)
|
|
|
|
target_link_libraries(bio_test crypto)
|
|
if (WIN32)
|
|
target_link_libraries(bio_test ws2_32)
|
|
endif()
|