libasio/tests/basics/buildfile

10 lines
247 B
Plaintext
Raw Permalink Normal View History

2023-07-13 09:55:59 +00:00
import! [metadata, rule_hint=cxx.link] asio = libasio%lib{asio}
2023-07-13 07:29:01 +00:00
2023-07-13 09:55:59 +00:00
exe{driver}: cxx{driver} $asio
if ($cxx.target.class == 'windows')
cxx.poptions += -D_WIN32_WINNT=0x0601
if $($asio: libasio.ssl)
cxx.poptions += "-DLIBASIO_TESTS_SSL_ENABLED"