# build as test/tests.cc defines BOOST_TEST_DYN_LINK
cmd += ' --disable-tests'
elif target.platform == 'windows':
- cmd += ' --target-windows'
+ cmd += f' --target-windows-{target.bits}'
+
+ if 'c++17' in options and options['c++17']:
+ cmd += ' --c++17'
target.command(cmd)
target.command('./waf build install')