0238d8f4ff
Bug: 132 Change-Id: I2b0c87262a5a529ea264ea8ce2d11c2dba0ec1c8 Reviewed-on: https://boringssl-review.googlesource.com/17766 Reviewed-by: Steven Valdez <svaldez@google.com> Commit-Queue: David Benjamin <davidben@google.com>
59 lines
884 B
CMake
59 lines
884 B
CMake
include_directories(../include)
|
|
|
|
add_library(
|
|
ssl
|
|
|
|
bio_ssl.cc
|
|
custom_extensions.cc
|
|
d1_both.cc
|
|
d1_lib.cc
|
|
d1_pkt.cc
|
|
d1_srtp.cc
|
|
dtls_method.cc
|
|
dtls_record.cc
|
|
handshake_client.cc
|
|
handshake_server.cc
|
|
s3_both.cc
|
|
s3_lib.cc
|
|
s3_pkt.cc
|
|
ssl_aead_ctx.cc
|
|
ssl_asn1.cc
|
|
ssl_buffer.cc
|
|
ssl_cert.cc
|
|
ssl_cipher.cc
|
|
ssl_ecdh.cc
|
|
ssl_file.cc
|
|
ssl_lib.cc
|
|
ssl_privkey.cc
|
|
ssl_session.cc
|
|
ssl_stat.cc
|
|
ssl_transcript.cc
|
|
ssl_versions.cc
|
|
ssl_x509.cc
|
|
t1_enc.cc
|
|
t1_lib.c
|
|
tls_method.cc
|
|
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:gtest_main>
|
|
$<TARGET_OBJECTS:test_support>
|
|
)
|
|
|
|
target_link_libraries(ssl_test ssl crypto gtest)
|
|
if (WIN32)
|
|
target_link_libraries(ssl_test ws2_32)
|
|
endif()
|
|
add_dependencies(all_tests ssl_test)
|