afe57cb14d
Make it slightly easier for people to use. Change-Id: I567e95bf1a5c203170a0b9732fd522fcbe5b7bc1 Reviewed-on: https://boringssl-review.googlesource.com/6773 Reviewed-by: Adam Langley <agl@google.com>
31 lines
476 B
CMake
31 lines
476 B
CMake
include_directories(../include)
|
|
|
|
add_executable(
|
|
bssl
|
|
|
|
args.cc
|
|
ciphers.cc
|
|
client.cc
|
|
const.cc
|
|
digest.cc
|
|
generate_ed25519.cc
|
|
genrsa.cc
|
|
pkcs12.cc
|
|
rand.cc
|
|
server.cc
|
|
speed.cc
|
|
tool.cc
|
|
transport_common.cc
|
|
)
|
|
|
|
if (APPLE OR WIN32 OR ANDROID)
|
|
target_link_libraries(bssl ssl crypto)
|
|
else()
|
|
find_library(FOUND_LIBRT rt)
|
|
if (FOUND_LIBRT)
|
|
target_link_libraries(bssl ssl crypto -lrt)
|
|
else()
|
|
target_link_libraries(bssl ssl crypto)
|
|
endif()
|
|
endif()
|