blob: 110c6833f359b31b94a37cded47fc3e426678a0e [file] [log] [blame]
Adam Langley95c29f32014-06-20 12:00:00 -07001add_executable(
Adam Langley4a0f0c42015-01-28 16:37:10 -08002 bssl_shim
Adam Langley95c29f32014-06-20 12:00:00 -07003
Adam Langley4a0f0c42015-01-28 16:37:10 -08004 async_bio.cc
5 bssl_shim.cc
Matthew Braithwaited2f87a72018-06-22 16:19:16 -07006 handshake_util.cc
Nick Harperb14530e2019-11-12 16:07:22 -08007 mock_quic_transport.cc
Adam Langley4a0f0c42015-01-28 16:37:10 -08008 packeted_bio.cc
Matthew Braithwaite997ff092018-06-22 14:40:15 -07009 settings_writer.cc
Adam Langley4a0f0c42015-01-28 16:37:10 -080010 test_config.cc
Matthew Braithwaitef2bc5f42018-06-22 15:53:19 -070011 test_state.cc
Adam Langley95c29f32014-06-20 12:00:00 -070012)
David Benjamin582904f2023-02-04 18:30:36 -050013target_link_libraries(bssl_shim ssl crypto)
Matthew Braithwaite548c2762018-06-22 18:53:05 -070014
David Benjamin0f4454c2022-01-26 14:17:08 -050015if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
Matthew Braithwaite548c2762018-06-22 18:53:05 -070016 add_executable(
17 handshaker
18
19 async_bio.cc
20 handshake_util.cc
21 handshaker.cc
Nick Harperb14530e2019-11-12 16:07:22 -080022 mock_quic_transport.cc
Matthew Braithwaite548c2762018-06-22 18:53:05 -070023 packeted_bio.cc
24 settings_writer.cc
25 test_config.cc
26 test_state.cc
Matthew Braithwaite548c2762018-06-22 18:53:05 -070027 )
David Benjamin582904f2023-02-04 18:30:36 -050028 target_link_libraries(handshaker ssl crypto)
Steven Valdeze5388e02018-08-01 16:54:48 -040029else()
30 # Declare a dummy target for run_tests to depend on.
31 add_custom_target(handshaker)
Matthew Braithwaite548c2762018-06-22 18:53:05 -070032endif()