2014-06-20 20:00:00 +01:00
|
|
|
include_directories(. .. ../../include)
|
|
|
|
|
|
|
|
add_library(
|
2015-01-29 00:37:10 +00:00
|
|
|
bio
|
2014-06-20 20:00:00 +01:00
|
|
|
|
2015-01-29 00:37:10 +00:00
|
|
|
OBJECT
|
2014-06-20 20:00:00 +01:00
|
|
|
|
2015-01-29 00:37:10 +00:00
|
|
|
bio.c
|
|
|
|
bio_mem.c
|
|
|
|
buffer.c
|
|
|
|
connect.c
|
|
|
|
fd.c
|
|
|
|
file.c
|
|
|
|
hexdump.c
|
|
|
|
pair.c
|
|
|
|
printf.c
|
|
|
|
socket.c
|
|
|
|
socket_helper.c
|
2014-06-20 20:00:00 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
add_executable(
|
2015-01-29 00:37:10 +00:00
|
|
|
bio_test
|
2014-06-20 20:00:00 +01:00
|
|
|
|
2015-03-26 05:38:04 +00:00
|
|
|
bio_test.cc
|
2015-05-16 00:08:49 +01:00
|
|
|
|
|
|
|
$<TARGET_OBJECTS:test_support>
|
2014-06-20 20:00:00 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(bio_test crypto)
|
2014-10-29 20:07:12 +00:00
|
|
|
if (WIN32)
|
2015-01-29 00:37:10 +00:00
|
|
|
target_link_libraries(bio_test ws2_32)
|
2014-10-29 20:07:12 +00:00
|
|
|
endif()
|