Allow setting c++17 in scons.

This commit is contained in:
pentarctagon 2018-04-14 01:22:21 -05:00 committed by Jyrki Vesterinen
parent 5d970e40cd
commit 7aeca70cb0

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),