mesonbuild/meson

Improve error message while importing subproject

Open

#2098 aperta il 21 lug 2017

Vedi su GitHub
 (1 commento) (1 reazione) (0 assegnatari)Python (1465 fork)batch import
bughelp wantedparser/interpreter

Metriche repository

Star
 (4978 star)
Metriche merge PR
 (Merge medio 139g 13h) (51 PR mergiate in 30 g)

Descrizione

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.

Guida contributor