projects
/
libdcp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use C++17 when the c++17 option is passed in.
[libdcp.git]
/
cscript
diff --git
a/cscript
b/cscript
index 413f62c229b2653d79ad2a0c1a655f40a1abf3c8..7ab2773e7c958d88f2bc65b51fb1e48e1773f59d 100644
(file)
--- 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'