diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2020-09-29 10:11:30 -0700 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2020-11-12 10:03:14 -0800 |
| commit | a28a34c6845144d2e947bd698244fb33909b4d45 (patch) | |
| tree | 735e8094e820d3c1bb0d3ae5f5714f42cea415e6 /mesonbuild/compilers/cpp.py | |
| parent | 3e62307f3a5d184c8c331de2809d5eaa38f001fd (diff) | |
| download | meson-a28a34c6845144d2e947bd698244fb33909b4d45.tar.gz | |
compilers: Standardize the names of compiler options
Most options don't use language prefaced options (std vs c_std)
internally, as we don't need that due to namespacing. Let's do that
across the board
Diffstat (limited to 'mesonbuild/compilers/cpp.py')
| -rw-r--r-- | mesonbuild/compilers/cpp.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mesonbuild/compilers/cpp.py b/mesonbuild/compilers/cpp.py index 3e9764a86..afc812a93 100644 --- a/mesonbuild/compilers/cpp.py +++ b/mesonbuild/compilers/cpp.py @@ -790,9 +790,9 @@ class C2000CPPCompiler(C2000Compiler, CPPCompiler): def get_options(self) -> 'OptionDictType': opts = CPPCompiler.get_options(self) - opts.update({'cpp_std': coredata.UserComboOption('C++ language standard to use', - ['none', 'c++03'], - 'none')}) + opts.update({'std': coredata.UserComboOption('C++ language standard to use', + ['none', 'c++03'], + 'none')}) return opts def get_always_args(self) -> T.List[str]: |
