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