diff options
Diffstat (limited to 'meson/test cases/failing/66 subproj different versions/subprojects/b')
3 files changed, 17 insertions, 0 deletions
diff --git a/meson/test cases/failing/66 subproj different versions/subprojects/b/b.c b/meson/test cases/failing/66 subproj different versions/subprojects/b/b.c new file mode 100644 index 000000000..f85f8c3f8 --- /dev/null +++ b/meson/test cases/failing/66 subproj different versions/subprojects/b/b.c @@ -0,0 +1,5 @@ +#include "c.h" + +int b_fun(){ +return c_fun(); +} diff --git a/meson/test cases/failing/66 subproj different versions/subprojects/b/b.h b/meson/test cases/failing/66 subproj different versions/subprojects/b/b.h new file mode 100644 index 000000000..eced786a0 --- /dev/null +++ b/meson/test cases/failing/66 subproj different versions/subprojects/b/b.h @@ -0,0 +1 @@ +int b_fun(); diff --git a/meson/test cases/failing/66 subproj different versions/subprojects/b/meson.build b/meson/test cases/failing/66 subproj different versions/subprojects/b/meson.build new file mode 100644 index 000000000..0398340e6 --- /dev/null +++ b/meson/test cases/failing/66 subproj different versions/subprojects/b/meson.build @@ -0,0 +1,11 @@ +project('b', 'c') + +c_dep = dependency('c', version:'2', fallback: ['c', 'c_dep']) + +blib = library('b', 'b.c', + dependencies: c_dep) + +b_dep = declare_dependency( + link_with: blib, + include_directories: include_directories('.'), +) |