libasio/tests/basics/buildfile
Francois Kritzinger cc7aedff52 Test
2023-07-19 16:38:01 +02:00

10 lines
247 B
Ruby

import! [metadata, rule_hint=cxx.link] asio = libasio%lib{asio}
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"