diff options
-rw-r--r-- | mesonbuild/interpreter/mesonmain.py | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/mesonbuild/interpreter/mesonmain.py b/mesonbuild/interpreter/mesonmain.py index 2ea3163..73df5ed 100644 --- a/mesonbuild/interpreter/mesonmain.py +++ b/mesonbuild/interpreter/mesonmain.py @@ -54,37 +54,37 @@ class MesonMain(MesonInterpreterObject): super().__init__(subproject=interpreter.subproject) self.build = build self.interpreter = interpreter - self.methods.update({'get_compiler': self.get_compiler_method, - 'is_cross_build': self.is_cross_build_method, - 'has_exe_wrapper': self.has_exe_wrapper_method, + self.methods.update({'add_devenv': self.add_devenv_method, + 'add_dist_script': self.add_dist_script_method, + 'add_install_script': self.add_install_script_method, + 'add_postconf_script': self.add_postconf_script_method, + 'backend': self.backend_method, + 'build_options': self.build_options_method, + 'build_root': self.build_root_method, 'can_run_host_binaries': self.can_run_host_binaries_method, - 'is_unity': self.is_unity_method, - 'is_subproject': self.is_subproject_method, 'current_source_dir': self.current_source_dir_method, 'current_build_dir': self.current_build_dir_method, - 'source_root': self.source_root_method, - 'build_root': self.build_root_method, - 'project_source_root': self.project_source_root_method, - 'project_build_root': self.project_build_root_method, - 'global_source_root': self.global_source_root_method, + 'get_compiler': self.get_compiler_method, + 'get_cross_property': self.get_cross_property_method, + 'get_external_property': self.get_external_property_method, 'global_build_root': self.global_build_root_method, - 'add_install_script': self.add_install_script_method, - 'add_postconf_script': self.add_postconf_script_method, - 'add_dist_script': self.add_dist_script_method, + 'global_source_root': self.global_source_root_method, + 'has_exe_wrapper': self.has_exe_wrapper_method, + 'has_external_property': self.has_external_property_method, 'install_dependency_manifest': self.install_dependency_manifest_method, + 'is_cross_build': self.is_cross_build_method, + 'is_subproject': self.is_subproject_method, + 'is_unity': self.is_unity_method, 'override_dependency': self.override_dependency_method, 'override_find_program': self.override_find_program_method, - 'project_version': self.project_version_method, + 'project_build_root': self.project_build_root_method, 'project_license': self.project_license_method, 'project_license_files': self.project_license_files_method, - 'version': self.version_method, 'project_name': self.project_name_method, - 'get_cross_property': self.get_cross_property_method, - 'get_external_property': self.get_external_property_method, - 'has_external_property': self.has_external_property_method, - 'backend': self.backend_method, - 'add_devenv': self.add_devenv_method, - 'build_options': self.build_options_method, + 'project_source_root': self.project_source_root_method, + 'project_version': self.project_version_method, + 'source_root': self.source_root_method, + 'version': self.version_method, }) def _find_source_script( |