Adam Langley | 95c29f3 | 2014-06-20 12:00:00 -0700 | [diff] [blame] | 1 | include_directories(../../include) |
| 2 | |
| 3 | add_executable( |
Adam Langley | 4a0f0c4 | 2015-01-28 16:37:10 -0800 | [diff] [blame] | 4 | bssl_shim |
Adam Langley | 95c29f3 | 2014-06-20 12:00:00 -0700 | [diff] [blame] | 5 | |
Adam Langley | 4a0f0c4 | 2015-01-28 16:37:10 -0800 | [diff] [blame] | 6 | async_bio.cc |
| 7 | bssl_shim.cc |
Matthew Braithwaite | d2f87a7 | 2018-06-22 16:19:16 -0700 | [diff] [blame] | 8 | handshake_util.cc |
Nick Harper | b14530e | 2019-11-12 16:07:22 -0800 | [diff] [blame] | 9 | mock_quic_transport.cc |
Adam Langley | 4a0f0c4 | 2015-01-28 16:37:10 -0800 | [diff] [blame] | 10 | packeted_bio.cc |
Matthew Braithwaite | 997ff09 | 2018-06-22 14:40:15 -0700 | [diff] [blame] | 11 | settings_writer.cc |
Adam Langley | 4a0f0c4 | 2015-01-28 16:37:10 -0800 | [diff] [blame] | 12 | test_config.cc |
Matthew Braithwaite | f2bc5f4 | 2018-06-22 15:53:19 -0700 | [diff] [blame] | 13 | test_state.cc |
Adam Langley | 95c29f3 | 2014-06-20 12:00:00 -0700 | [diff] [blame] | 14 | ) |
| 15 | |
Joshua Liebow-Feeser | 8c7c635 | 2018-08-26 18:53:36 -0700 | [diff] [blame] | 16 | add_dependencies(bssl_shim global_target) |
| 17 | |
David Benjamin | 582904f | 2023-02-04 18:30:36 -0500 | [diff] [blame] | 18 | target_link_libraries(bssl_shim ssl crypto) |
Matthew Braithwaite | 548c276 | 2018-06-22 18:53:05 -0700 | [diff] [blame] | 19 | |
David Benjamin | 0f4454c | 2022-01-26 14:17:08 -0500 | [diff] [blame] | 20 | if(CMAKE_SYSTEM_NAME STREQUAL "Linux") |
Matthew Braithwaite | 548c276 | 2018-06-22 18:53:05 -0700 | [diff] [blame] | 21 | add_executable( |
| 22 | handshaker |
| 23 | |
| 24 | async_bio.cc |
| 25 | handshake_util.cc |
| 26 | handshaker.cc |
Nick Harper | b14530e | 2019-11-12 16:07:22 -0800 | [diff] [blame] | 27 | mock_quic_transport.cc |
Matthew Braithwaite | 548c276 | 2018-06-22 18:53:05 -0700 | [diff] [blame] | 28 | packeted_bio.cc |
| 29 | settings_writer.cc |
| 30 | test_config.cc |
| 31 | test_state.cc |
Matthew Braithwaite | 548c276 | 2018-06-22 18:53:05 -0700 | [diff] [blame] | 32 | ) |
| 33 | |
Joshua Liebow-Feeser | 8c7c635 | 2018-08-26 18:53:36 -0700 | [diff] [blame] | 34 | add_dependencies(handshaker global_target) |
| 35 | |
David Benjamin | 582904f | 2023-02-04 18:30:36 -0500 | [diff] [blame] | 36 | target_link_libraries(handshaker ssl crypto) |
Steven Valdez | e5388e0 | 2018-08-01 16:54:48 -0400 | [diff] [blame] | 37 | else() |
| 38 | # Declare a dummy target for run_tests to depend on. |
| 39 | add_custom_target(handshaker) |
Matthew Braithwaite | 548c276 | 2018-06-22 18:53:05 -0700 | [diff] [blame] | 40 | endif() |