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   file.cc
     12   generate_ed25519.cc
     13   genrsa.cc
     14   pkcs12.cc
     15   rand.cc
     16   server.cc
     17   sign.cc
     18   speed.cc
     19   tool.cc
     20   transport_common.cc
     21 )
     22 
     23 if (APPLE OR WIN32 OR ANDROID)
     24   target_link_libraries(bssl ssl crypto)
     25 else()
     26   find_library(FOUND_LIBRT rt)
     27   if (FOUND_LIBRT)
     28     target_link_libraries(bssl ssl crypto -lrt)
     29   else()
     30     target_link_libraries(bssl ssl crypto)
     31   endif()
     32 endif()
     33