diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-03-17 13:17:04 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-03-19 09:40:40 +0100 |
| commit | c53e6692a0828ca05ab4066e274453a1dc81567b (patch) | |
| tree | ed9abe1fcc0e0b201fb7b35351a860ae40d21a3f | |
| parent | d1d86684114447809c762a78e8e5cb821e1253fc (diff) | |
Use C++17 when the c++17 option is passed in.v0.17.8
| -rw-r--r-- | cscript | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -31,6 +31,9 @@ def build(target, options): elif target.platform == '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') |
