summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cscript3
1 files changed, 3 insertions, 0 deletions
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'