Skip to content

Commit

Permalink
Fix the C and C++ project template options, they were reversed before.
Browse files Browse the repository at this point in the history
  • Loading branch information
jukkalaurila authored and jpakkane committed Mar 5, 2018
1 parent 9819bc9 commit fcb9584
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mesonbuild/minit.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,7 @@

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)
Expand All @@ -147,7 +146,8 @@

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)
Expand Down

0 comments on commit fcb9584

Please sign in to comment.