mesonbuild/meson

Improve error message while importing subproject

开放

#2,098 创建于 2017年7月21日

 (1 条评论) (1 个反应) (0 位负责人)Python (1,465 个派生)batch import
bughelp wantedparser/interpreter

仓库指标

星标
 (4,978 个星标)
PR 合并指标
 (平均合并 139天 13小时) (30 天内合并 51 个 PR)

描述

If you import a wrapped project with errors in its build definition will produce an error: Also couldn't find a fallback subproject in subprojects/<project_name> for the dependency <dep_name>

While the error could just be a wrong spelled source file in subprojects/<project_name>/*/meson.build. We expect it to say that the project has errors not that the project doesn't exist.

As sample: This project imports the subproject without error except that it doesn't build(not completed yet..). This project shows the error while I just added a wrong source file in the subproject build definition.

贡献者指南