From af1a266670d040d2f4083ff309d732d648afba2a Mon Sep 17 00:00:00 2001 From: Angelos Mouzakitis Date: Tue, 10 Oct 2023 14:33:42 +0000 Subject: Add submodule dependency files Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec --- .../test cases/common/213 source set dictionary/subdir/b.c | 13 +++++++++++++ .../common/213 source set dictionary/subdir/meson.build | 1 + 2 files changed, 14 insertions(+) create mode 100644 meson/test cases/common/213 source set dictionary/subdir/b.c create mode 100644 meson/test cases/common/213 source set dictionary/subdir/meson.build (limited to 'meson/test cases/common/213 source set dictionary/subdir') diff --git a/meson/test cases/common/213 source set dictionary/subdir/b.c b/meson/test cases/common/213 source set dictionary/subdir/b.c new file mode 100644 index 000000000..31c378934 --- /dev/null +++ b/meson/test cases/common/213 source set dictionary/subdir/b.c @@ -0,0 +1,13 @@ +#include +#include "all.h" + +void h(void) +{ +} + +int main(void) +{ + if (p) abort(); + f(); + g(); +} diff --git a/meson/test cases/common/213 source set dictionary/subdir/meson.build b/meson/test cases/common/213 source set dictionary/subdir/meson.build new file mode 100644 index 000000000..b497de574 --- /dev/null +++ b/meson/test cases/common/213 source set dictionary/subdir/meson.build @@ -0,0 +1 @@ +sources.add(when: ['YES2', good], if_true: [ files('b.c') ]) -- cgit 1.2.3-korg