Skip to content

Commit

Permalink
Allow setting c++17 in scons.
Browse files Browse the repository at this point in the history
(cherry-picked from commit 7aeca70)
  • Loading branch information
Pentarctagon authored and jyrkive committed Oct 7, 2018
1 parent 83a2457 commit b32ce37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SConstruct
Expand Up @@ -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),
Expand Down

0 comments on commit b32ce37

Please sign in to comment.