diff options
author | Zachary Michaels <mikezackles@gmail.com> | 2018-08-09 10:04:57 -0700 |
---|---|---|
committer | Zachary Michaels <mikezackles@gmail.com> | 2018-08-09 11:09:21 -0700 |
commit | 8417c1a20fdd74bf2cc7d15f4bc52460b02d3ce4 (patch) | |
tree | 4c4c4a5ed3bba8faea6ea3f17bb4797b15615a52 /mesonbuild/compilers/cpp.py | |
parent | 15fb2843955b53414cf292cf0a6b7faf7ffc883a (diff) | |
download | meson-8417c1a20fdd74bf2cc7d15f4bc52460b02d3ce4.zip meson-8417c1a20fdd74bf2cc7d15f4bc52460b02d3ce4.tar.gz meson-8417c1a20fdd74bf2cc7d15f4bc52460b02d3ce4.tar.bz2 |
Add support for c++2a and gnu++2a
Diffstat (limited to 'mesonbuild/compilers/cpp.py')
-rw-r--r-- | mesonbuild/compilers/cpp.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mesonbuild/compilers/cpp.py b/mesonbuild/compilers/cpp.py index 7344114..2280f46 100644 --- a/mesonbuild/compilers/cpp.py +++ b/mesonbuild/compilers/cpp.py @@ -80,8 +80,8 @@ class ClangCPPCompiler(ClangCompiler, CPPCompiler): def get_options(self): opts = CPPCompiler.get_options(self) opts.update({'cpp_std': coredata.UserComboOption('cpp_std', 'C++ language standard to use', - ['none', 'c++98', 'c++03', 'c++11', 'c++14', 'c++17', 'c++1z', - 'gnu++11', 'gnu++14', 'gnu++17', 'gnu++1z'], + ['none', 'c++98', 'c++03', 'c++11', 'c++14', 'c++17', 'c++1z', 'c++2a', + 'gnu++11', 'gnu++14', 'gnu++17', 'gnu++1z', 'gnu++2a'], 'none')}) return opts @@ -139,8 +139,8 @@ class GnuCPPCompiler(GnuCompiler, CPPCompiler): def get_options(self): opts = CPPCompiler.get_options(self) opts.update({'cpp_std': coredata.UserComboOption('cpp_std', 'C++ language standard to use', - ['none', 'c++98', 'c++03', 'c++11', 'c++14', 'c++17', 'c++1z', - 'gnu++03', 'gnu++11', 'gnu++14', 'gnu++17', 'gnu++1z'], + ['none', 'c++98', 'c++03', 'c++11', 'c++14', 'c++17', 'c++1z', 'c++2a', + 'gnu++03', 'gnu++11', 'gnu++14', 'gnu++17', 'gnu++1z', 'gnu++2a'], 'none'), 'cpp_debugstl': coredata.UserBooleanOption('cpp_debugstl', 'STL debug mode', |