1include_directories(../include) 2 3add_executable( 4 bssl 5 6 args.cc 7 ciphers.cc 8 client.cc 9 const.cc 10 digest.cc 11 generate_ed25519.cc 12 genrsa.cc 13 pkcs12.cc 14 rand.cc 15 server.cc 16 speed.cc 17 tool.cc 18 transport_common.cc 19) 20 21if (APPLE OR WIN32 OR ANDROID) 22 target_link_libraries(bssl ssl crypto) 23else() 24 find_library(FOUND_LIBRT rt) 25 if (FOUND_LIBRT) 26 target_link_libraries(bssl ssl crypto -lrt) 27 else() 28 target_link_libraries(bssl ssl crypto) 29 endif() 30endif() 31