boringssl/tool/CMakeLists.txt
David Benjamin 4e78e30933 Add a basic signing tool.
This is mostly to make it easier for me to generate test Ed25519
certificates.

Change-Id: I45e42f556d949d62eb6cdf684194958fa9f909bf
Reviewed-on: https://boringssl-review.googlesource.com/14504
Reviewed-by: Adam Langley <agl@google.com>
2017-04-05 23:32:13 +00:00

33 lines
496 B
CMake

include_directories(../include)
add_executable(
bssl
args.cc
ciphers.cc
client.cc
const.cc
digest.cc
file.cc
generate_ed25519.cc
genrsa.cc
pkcs12.cc
rand.cc
server.cc
sign.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()