summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-02-03 01:02:26 +0100
committerCarl Hetherington <cth@carlh.net>2020-02-03 01:02:26 +0100
commit90d33bef576be879e6ce71f120f070a6b738040c (patch)
treeb7385ec14d2eeb7f2c3a58a2fd3890c0a3c5b9ba /cscript
parent49da5bc0d2548418f363ceaca148e29f7929682b (diff)
Allow force-cpp11 via cscript options.
Diffstat (limited to 'cscript')
-rw-r--r--cscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/cscript b/cscript
index 325df40..4d9d017 100644
--- a/cscript
+++ b/cscript
@@ -42,6 +42,9 @@ def build(target, options):
if target.platform == 'windows':
cmd += ' --target-windows --disable-tests'
+ if options is not None and 'force-cpp11' in options and options['force-cpp11']:
+ cmd += ' --force-cpp11'
+
target.command(cmd)
target.command('./waf build install')