You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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