boringssl/ssl/CMakeLists.txt
David Benjamin 1252f8758a Convert one libssl function to C++11.
This is to make sure all of libssl's consumers' have sufficiently
reasonable toolchains. Once this bakes, we can go about moving
libssl to C++.

This is just starting with libssl for now because libcrypto has more
consumers and libssl would benefit more from C++ than libcrypto (though
libcrypto also has code that would benefit).

BUG=132

Change-Id: Ie02f7b0a8a95defd289cc7e62451d4b16408ca2a
Reviewed-on: https://boringssl-review.googlesource.com/13161
Commit-Queue: David Benjamin <davidben@google.com>
Reviewed-by: Adam Langley <agl@google.com>
2017-01-17 21:51:06 +00:00

53 lines
720 B
CMake

include_directories(../include)
add_library(
ssl
custom_extensions.c
handshake_server.c
handshake_client.c
d1_both.c
d1_lib.c
d1_pkt.c
d1_srtp.c
dtls_method.c
dtls_record.c
s3_both.c
s3_enc.c
s3_lib.c
s3_pkt.c
ssl_aead_ctx.c
ssl_asn1.c
ssl_buffer.c
ssl_cert.c
ssl_cipher.c
ssl_ecdh.c
ssl_file.c
ssl_lib.c
ssl_rsa.c
ssl_rsa_cc.cc
ssl_session.c
ssl_stat.c
t1_enc.c
t1_lib.c
tls_method.c
tls_record.c
tls13_both.c
tls13_client.c
tls13_enc.c
tls13_server.c
)
target_link_libraries(ssl crypto)
add_executable(
ssl_test
ssl_test.cc
$<TARGET_OBJECTS:test_support>
)
target_link_libraries(ssl_test ssl crypto)
add_dependencies(all_tests ssl_test)