Allow specifying c++20.

This commit is contained in:
Pentarctagon 2020-03-24 14:43:45 -05:00
parent dd7dea1673
commit e6e01341f4
No known key found for this signature in database
GPG Key ID: 29E48D667D52CCF3

View File

@ -109,7 +109,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', '17']),
EnumVariable('cxx_std', 'Target c++ std version', '14', ['14', '17', '20']),
('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),
BoolVariable("autorevision", 'Use autorevision tool to fetch current git revision that will be embedded in version string', True),