diff options
author | Jukka Laurila <jlaurila@google.com> | 2018-02-27 20:54:54 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-03-06 00:05:17 +0200 |
commit | fcb95847edb05d900725923697974688ab1121bb (patch) | |
tree | ca791c6a9a8caba0ac659dc9948ebeed331ab6f6 /mesonbuild/minit.py | |
parent | 9819bc9c56f26f582f9dfe413af986cd517b24f2 (diff) | |
download | meson-fcb95847edb05d900725923697974688ab1121bb.zip meson-fcb95847edb05d900725923697974688ab1121bb.tar.gz meson-fcb95847edb05d900725923697974688ab1121bb.tar.bz2 |
Fix the C and C++ project template options, they were reversed before.
Diffstat (limited to 'mesonbuild/minit.py')
-rw-r--r-- | mesonbuild/minit.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mesonbuild/minit.py b/mesonbuild/minit.py index 4459a05..7a115c2 100644 --- a/mesonbuild/minit.py +++ b/mesonbuild/minit.py @@ -122,8 +122,7 @@ int main(int argc, char **argv) {{ hello_c_meson_template = '''project('{project_name}', 'c', version : '{version}', - default_options : ['warning_level=3', - 'cpp_std=c++14']) + default_options : ['warning_level=3']) exe = executable('{exe_name}', '{source_name}', install : true) @@ -147,7 +146,8 @@ int main(int argc, char **argv) {{ hello_cpp_meson_template = '''project('{project_name}', 'cpp', version : '{version}', - default_options : ['warning_level=3']) + default_options : ['warning_level=3', + 'cpp_std=c++14']) exe = executable('{exe_name}', '{source_name}', install : true) |