2014-06-20 20:00:00 +01:00
|
|
|
include_directories(../include)
|
|
|
|
|
|
|
|
add_executable(
|
2015-01-29 00:37:10 +00:00
|
|
|
bssl
|
2014-06-20 20:00:00 +01:00
|
|
|
|
2015-01-29 00:37:10 +00:00
|
|
|
args.cc
|
2015-10-27 23:03:52 +00:00
|
|
|
ciphers.cc
|
2015-01-29 00:37:10 +00:00
|
|
|
client.cc
|
|
|
|
const.cc
|
|
|
|
digest.cc
|
2015-12-18 23:22:27 +00:00
|
|
|
generate_ed25519.cc
|
2015-05-26 19:36:46 +01:00
|
|
|
genrsa.cc
|
2015-01-29 00:37:10 +00:00
|
|
|
pkcs12.cc
|
2015-04-13 19:04:15 +01:00
|
|
|
rand.cc
|
2015-01-29 00:37:10 +00:00
|
|
|
server.cc
|
|
|
|
speed.cc
|
|
|
|
tool.cc
|
|
|
|
transport_common.cc
|
2014-06-20 20:00:00 +01:00
|
|
|
)
|
|
|
|
|
2015-05-27 18:13:35 +01:00
|
|
|
if (APPLE OR WIN32 OR ANDROID)
|
|
|
|
target_link_libraries(bssl ssl crypto)
|
|
|
|
else()
|
2015-07-10 02:34:57 +01:00
|
|
|
find_library(FOUND_LIBRT rt)
|
|
|
|
if (FOUND_LIBRT)
|
|
|
|
target_link_libraries(bssl ssl crypto -lrt)
|
|
|
|
else()
|
|
|
|
target_link_libraries(bssl ssl crypto)
|
|
|
|
endif()
|
2015-05-27 18:13:35 +01:00
|
|
|
endif()
|