diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2022-03-29 15:24:58 +0200 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-05-03 02:00:29 -0400 |
commit | 2f68aa21e87f451196bb050315e268cb38f200c5 (patch) | |
tree | 331b98d0a95d3a9586804c0a5963400da18ff530 /mesonbuild | |
parent | 3a960023d3e78d04651850178db96c7d742725e6 (diff) | |
download | meson-2f68aa21e87f451196bb050315e268cb38f200c5.zip meson-2f68aa21e87f451196bb050315e268cb38f200c5.tar.gz meson-2f68aa21e87f451196bb050315e268cb38f200c5.tar.bz2 |
add testcase for bad things with add_project_dependencies
Test that add_project_dependencies() can only be used before build targets
have been declared. Also test that one cannot use override_dependency
on a superproject to inject a superproject's build products into the
subproject. This would violate the rule that build products cannot be used
with add_project_dependencies() (similar to e.g. compiler.has_function),
so check that meson detects the situation correctly.
Diffstat (limited to 'mesonbuild')
0 files changed, 0 insertions, 0 deletions