From c53e6692a0828ca05ab4066e274453a1dc81567b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 17 Mar 2024 13:17:04 +0100 Subject: Use C++17 when the c++17 option is passed in. --- cscript | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cscript') diff --git a/cscript b/cscript index 8f95c91..3104602 100644 --- a/cscript +++ b/cscript @@ -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') -- cgit v1.2.3