1include_directories(../../include) 2 3add_library( 4 bio 5 6 OBJECT 7 8 bio.c 9 bio_mem.c 10 buffer.c 11 connect.c 12 fd.c 13 file.c 14 hexdump.c 15 pair.c 16 printf.c 17 socket.c 18 socket_helper.c 19) 20 21add_executable( 22 bio_test 23 24 bio_test.cc 25 26 $<TARGET_OBJECTS:test_support> 27) 28 29target_link_libraries(bio_test crypto) 30if (WIN32) 31 target_link_libraries(bio_test ws2_32) 32endif() 33add_dependencies(all_tests bio_test) 34