projects
/
libcxml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1d8668
)
Use C++17 when the c++17 option is passed in.
v0.17.8
author
Carl Hetherington
<cth@carlh.net>
Sun, 17 Mar 2024 12:17:04 +0000
(13:17 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 19 Mar 2024 08:40:40 +0000
(09:40 +0100)
cscript
patch
|
blob
|
history
diff --git
a/cscript
b/cscript
index 8f95c91a0517cd59bb150676cb523eaec4d9fc0f..310460297a2a240c4ca7ed461224c66aee13692a 100644
(file)
--- 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')