diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-03-17 13:17:40 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-03-20 18:21:28 +0100 |
| commit | 8ba4029ad997f638dedced7a24d441450d55b589 (patch) | |
| tree | 7591253417cdecfc6dddf700b0a118ca183bd98c | |
| parent | 3efbc8af3f71d47faaa38f9e20092bcfa08c3713 (diff) | |
Use C++17 when the c++17 option is passed in.v1.9.2
| -rw-r--r-- | cscript | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -51,6 +51,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' + if target.debug: cmd += ' --enable-debug' |
