From 8ba4029ad997f638dedced7a24d441450d55b589 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 17 Mar 2024 13:17:40 +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 413f62c2..7ab2773e 100644 --- a/cscript +++ b/cscript @@ -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' -- cgit v1.2.3