forked from pool/meson
This commit is contained in:
parent
ac2c0a6430
commit
2eea602a60
@ -1,3 +1,32 @@
|
||||
--- a/mesonbuild/minit.py
|
||||
+++ b/mesonbuild/minit.py
|
||||
@@ -143,7 +143,7 @@ int main(int argc, char **argv) {{
|
||||
hello_cpp_meson_template = '''project('{project_name}', 'cpp',
|
||||
version : '{version}',
|
||||
default_options : ['warning_level=3',
|
||||
- 'cpp_std=c++14'])
|
||||
+ 'cpp_std=c++1y'])
|
||||
|
||||
exe = executable('{exe_name}', '{source_name}',
|
||||
install : true)
|
||||
@@ -214,7 +214,7 @@ int main(int argc, char **argv) {{
|
||||
|
||||
lib_cpp_meson_template = '''project('{project_name}', 'cpp',
|
||||
version : '{version}',
|
||||
- default_options : ['warning_level=3', 'cpp_std=c++14'])
|
||||
+ default_options : ['warning_level=3', 'cpp_std=c++1y'])
|
||||
|
||||
# These arguments are only used to build the shared library
|
||||
# not the executables that use the library.
|
||||
@@ -404,7 +404,7 @@ def create_meson_build(options):
|
||||
default_options = ['warning_level=3']
|
||||
if options.language == 'cpp':
|
||||
# This shows how to set this very common option.
|
||||
- default_options += ['cpp_std=c++14']
|
||||
+ default_options += ['cpp_std=c++1y']
|
||||
# If we get a meson.build autoformatter one day, this code could
|
||||
# be simplified quite a bit.
|
||||
formatted_default_options = ', '.join("'{}'".format(x) for x in default_options)
|
||||
--- "a/test cases/common/152 simd/simdchecker.c"
|
||||
+++ "b/test cases/common/152 simd/simdchecker.c"
|
||||
@@ -10,11 +10,12 @@ int check_simd_implementation(float *fou
|
||||
|
Loading…
Reference in New Issue
Block a user