xref: /aosp_15_r20/external/boringssl/src/ssl/test/CMakeLists.txt (revision 8fb009dc861624b67b6cdb62ea21f0f22d0c584b)
1add_executable(
2  bssl_shim
3
4  async_bio.cc
5  bssl_shim.cc
6  handshake_util.cc
7  mock_quic_transport.cc
8  packeted_bio.cc
9  settings_writer.cc
10  test_config.cc
11  test_state.cc
12)
13target_link_libraries(bssl_shim ssl crypto)
14
15if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
16  add_executable(
17    handshaker
18
19    async_bio.cc
20    handshake_util.cc
21    handshaker.cc
22    mock_quic_transport.cc
23    packeted_bio.cc
24    settings_writer.cc
25    test_config.cc
26    test_state.cc
27  )
28  target_link_libraries(handshaker ssl crypto)
29else()
30  # Declare a dummy target for run_tests to depend on.
31  add_custom_target(handshaker)
32endif()
33