Home | History | Annotate | Download | only in tool
      1 include_directories(../include)
      2 
      3 add_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 
     21 if (APPLE OR WIN32 OR ANDROID)
     22   target_link_libraries(bssl ssl crypto)
     23 else()
     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()
     30 endif()
     31