diff --git a/autotests/folding/meson.build.fold b/autotests/folding/meson.build.fold --- a/autotests/folding/meson.build.fold +++ b/autotests/folding/meson.build.fold @@ -19,3 +19,8 @@ mysharedlib = shared_library('libraryname', sourcefiles, linkwith: subprojectresult.staticlib) executable('myprogram', ['test.cpp'], linkwith: mysharedlib) + +message(meson.source_root()) +message(unknown.source_root()) +message('str'.join(l)) + diff --git a/autotests/html/meson.build.html b/autotests/html/meson.build.html --- a/autotests/html/meson.build.html +++ b/autotests/html/meson.build.html @@ -25,4 +25,9 @@ mysharedlib = shared_library('libraryname', sourcefiles, linkwith: subprojectresult.staticlib) executable('myprogram', ['test.cpp'], linkwith: mysharedlib) + +message(meson.source_root()) +message(unknown.source_root()) +message('str'.join(l)) + diff --git a/autotests/input/meson.build b/autotests/input/meson.build --- a/autotests/input/meson.build +++ b/autotests/input/meson.build @@ -19,3 +19,8 @@ mysharedlib = shared_library('libraryname', sourcefiles, linkwith: subprojectresult.staticlib) executable('myprogram', ['test.cpp'], linkwith: mysharedlib) + +message(meson.source_root()) +message(unknown.source_root()) +message('str'.join(l)) + diff --git a/autotests/reference/meson.build.ref b/autotests/reference/meson.build.ref --- a/autotests/reference/meson.build.ref +++ b/autotests/reference/meson.build.ref @@ -19,3 +19,8 @@ mysharedlib = shared_library('libraryname', sourcefiles, linkwith: subprojectresult.staticlib)

executable('myprogram', ['test.cpp'], linkwith: mysharedlib)
+
+message(meson.source_root())
+message(unknown.source_root())
+message('str'.join(l))
+
diff --git a/data/syntax/meson.xml b/data/syntax/meson.xml --- a/data/syntax/meson.xml +++ b/data/syntax/meson.xml @@ -1,78 +1,229 @@ - + if else endif foreach endforeach - + add_global_arguments + add_global_link_arguments + add_languages + add_project_arguments + add_project_link_arguments + add_test_setup + alias_target + assert + benchmark + both_libraries build_target configuration_data configure_file custom_target declare_dependency dependency + disabler + environment error executable - find_program - find_library files + find_library + find_program generator get_option - gettext + get_variable import include_directories install_data install_headers install_man install_subdir - is_subproject + is_disabler + is_variable jar + join_paths + library message - pkgconfig_gen project run_command run_target set_variable shared_library + shared_module static_library subdir + subdir_done subproject test vcs_tag + warning - + and or not true false + + meson + + + build_machine + host_machine + target_machine + + + add_dist_script + add_install_script + add_postconf_script + backend + build_root + source_root + current_build_dir + current_source_dir + get_cross_property + get_compiler + has_exe_wrapper + install_dependency_manifest + is_cross_build + is_subproject + is_unity + override_find_program + project_version + project_license + project_name + version + + + cpu_family + cpu + system + endian + + + alignment + append + as_system + cmd_array + compiled + compiles + compute_int + contains + endswith + extract_all_objects + extract_objects + find_library + first_supported_argument + first_supported_link_argument + format + found + full_path + get_argument_syntax + get_configtool_variable + get_define + get_id + get + get_pkgconfig_variable + get_supported_arguments + get_supported_function_attributes + get_supported_link_arguments + get_unquoted + get_variable + gettext + has_argument + has_function_attribute + has_function + has_header_symbol + has + has_key + has_link_argument + has_member + has_members + has_multi_arguments + has_multi_link_arguments + has_type + include_type + is_even + is_odd + join + length + links + merge_from + name + partial_dependency + path + pkgconfig_gen + prepend + private_dir_include + process + returncode + run + set10 + set + set_quoted + sizeof + split + startswith + stderr + stdout + strip + symbols_have_underscore_prefix + to_lower + to_string + to_upper + type_name + underscorify + version_compare + version + + + + + + + + + + + + + + + + + + + + + + + + @@ -108,6 +259,8 @@ + +