• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1include_directories(../include)
2
3add_library(
4  ssl
5
6  bio_ssl.cc
7  custom_extensions.cc
8  d1_both.cc
9  d1_lib.cc
10  d1_pkt.cc
11  d1_srtp.cc
12  dtls_method.cc
13  dtls_record.cc
14  handshake_client.cc
15  handshake_server.cc
16  s3_both.cc
17  s3_lib.cc
18  s3_pkt.cc
19  ssl_aead_ctx.cc
20  ssl_asn1.cc
21  ssl_buffer.cc
22  ssl_cert.cc
23  ssl_cipher.cc
24  ssl_ecdh.cc
25  ssl_file.cc
26  ssl_lib.cc
27  ssl_privkey.cc
28  ssl_session.cc
29  ssl_stat.cc
30  ssl_transcript.cc
31  ssl_versions.cc
32  ssl_x509.cc
33  t1_enc.cc
34  t1_lib.cc
35  tls_method.cc
36  tls_record.cc
37  tls13_both.cc
38  tls13_client.cc
39  tls13_enc.cc
40  tls13_server.cc
41)
42
43target_link_libraries(ssl crypto)
44
45add_executable(
46  ssl_test
47
48  ssl_test.cc
49
50  $<TARGET_OBJECTS:gtest_main>
51  $<TARGET_OBJECTS:test_support>
52)
53
54target_link_libraries(ssl_test ssl crypto gtest)
55if (WIN32)
56  target_link_libraries(ssl_test ws2_32)
57endif()
58add_dependencies(all_tests ssl_test)
59