Allow setting c++17 in scons.

(cherry-picked from commit 7aeca70cb0)
This commit is contained in:
pentarctagon 2018-04-14 01:22:21 -05:00 committed by Jyrki Vesterinen
parent 83a2457dd8
commit b32ce37de5

View file

@ -107,7 +107,7 @@ opts.AddVariables(
BoolVariable('ccache', "Use ccache", False),
('ctool', 'Set c compiler command if not using standard compiler.'),
('cxxtool', 'Set c++ compiler command if not using standard compiler.'),
EnumVariable('cxx_std', 'Target c++ std version', '14', ['14']),
EnumVariable('cxx_std', 'Target c++ std version', '14', ['14', '17']),
BoolVariable('openmp', 'Enable openmp use.', False),
('sanitize', 'Enable clang and GCC sanitizer functionality. A comma separated list of sanitize suboptions must be passed as value.', ''),
BoolVariable("fast", "Make scons faster at cost of less precise dependency tracking.", False),