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 --- meson/test cases/unit/92 install skip subprojects/foo.c | 4 ++++ meson/test cases/unit/92 install skip subprojects/foo.dat | 1 + meson/test cases/unit/92 install skip subprojects/foo.h | 1 + meson/test cases/unit/92 install skip subprojects/foo/foofile | 0 meson/test cases/unit/92 install skip subprojects/meson.build | 8 ++++++++ .../unit/92 install skip subprojects/subprojects/bar/bar.c | 4 ++++ .../unit/92 install skip subprojects/subprojects/bar/bar.dat | 1 + .../unit/92 install skip subprojects/subprojects/bar/bar.h | 1 + .../unit/92 install skip subprojects/subprojects/bar/bar/barfile | 1 + .../unit/92 install skip subprojects/subprojects/bar/meson.build | 6 ++++++ 10 files changed, 27 insertions(+) create mode 100644 meson/test cases/unit/92 install skip subprojects/foo.c create mode 100644 meson/test cases/unit/92 install skip subprojects/foo.dat create mode 100644 meson/test cases/unit/92 install skip subprojects/foo.h create mode 100644 meson/test cases/unit/92 install skip subprojects/foo/foofile create mode 100644 meson/test cases/unit/92 install skip subprojects/meson.build create mode 100644 meson/test cases/unit/92 install skip subprojects/subprojects/bar/bar.c create mode 100644 meson/test cases/unit/92 install skip subprojects/subprojects/bar/bar.dat create mode 100644 meson/test cases/unit/92 install skip subprojects/subprojects/bar/bar.h create mode 100644 meson/test cases/unit/92 install skip subprojects/subprojects/bar/bar/barfile create mode 100644 meson/test cases/unit/92 install skip subprojects/subprojects/bar/meson.build (limited to 'meson/test cases/unit/92 install skip subprojects') diff --git a/meson/test cases/unit/92 install skip subprojects/foo.c b/meson/test cases/unit/92 install skip subprojects/foo.c new file mode 100644 index 000000000..25927f5a1 --- /dev/null +++ b/meson/test cases/unit/92 install skip subprojects/foo.c @@ -0,0 +1,4 @@ +int main(int argc, char *argv[]) +{ + return 0; +} diff --git a/meson/test cases/unit/92 install skip subprojects/foo.dat b/meson/test cases/unit/92 install skip subprojects/foo.dat new file mode 100644 index 000000000..421376db9 --- /dev/null +++ b/meson/test cases/unit/92 install skip subprojects/foo.dat @@ -0,0 +1 @@ +dummy diff --git a/meson/test cases/unit/92 install skip subprojects/foo.h b/meson/test cases/unit/92 install skip subprojects/foo.h new file mode 100644 index 000000000..a7e26ac6c --- /dev/null +++ b/meson/test cases/unit/92 install skip subprojects/foo.h @@ -0,0 +1 @@ +#define FOO diff --git a/meson/test cases/unit/92 install skip subprojects/foo/foofile b/meson/test cases/unit/92 install skip subprojects/foo/foofile new file mode 100644 index 000000000..e69de29bb diff --git a/meson/test cases/unit/92 install skip subprojects/meson.build b/meson/test cases/unit/92 install skip subprojects/meson.build new file mode 100644 index 000000000..cfbae9483 --- /dev/null +++ b/meson/test cases/unit/92 install skip subprojects/meson.build @@ -0,0 +1,8 @@ +project('foo', 'c') + +install_data('foo.dat') +install_headers('foo.h') +install_subdir('foo', install_dir: '') +executable('foo', 'foo.c', install: true) + +subproject('bar') diff --git a/meson/test cases/unit/92 install skip subprojects/subprojects/bar/bar.c b/meson/test cases/unit/92 install skip subprojects/subprojects/bar/bar.c new file mode 100644 index 000000000..25927f5a1 --- /dev/null +++ b/meson/test cases/unit/92 install skip subprojects/subprojects/bar/bar.c @@ -0,0 +1,4 @@ +int main(int argc, char *argv[]) +{ + return 0; +} diff --git a/meson/test cases/unit/92 install skip subprojects/subprojects/bar/bar.dat b/meson/test cases/unit/92 install skip subprojects/subprojects/bar/bar.dat new file mode 100644 index 000000000..421376db9 --- /dev/null +++ b/meson/test cases/unit/92 install skip subprojects/subprojects/bar/bar.dat @@ -0,0 +1 @@ +dummy diff --git a/meson/test cases/unit/92 install skip subprojects/subprojects/bar/bar.h b/meson/test cases/unit/92 install skip subprojects/subprojects/bar/bar.h new file mode 100644 index 000000000..a7e26ac6c --- /dev/null +++ b/meson/test cases/unit/92 install skip subprojects/subprojects/bar/bar.h @@ -0,0 +1 @@ +#define FOO diff --git a/meson/test cases/unit/92 install skip subprojects/subprojects/bar/bar/barfile b/meson/test cases/unit/92 install skip subprojects/subprojects/bar/bar/barfile new file mode 100644 index 000000000..421376db9 --- /dev/null +++ b/meson/test cases/unit/92 install skip subprojects/subprojects/bar/bar/barfile @@ -0,0 +1 @@ +dummy diff --git a/meson/test cases/unit/92 install skip subprojects/subprojects/bar/meson.build b/meson/test cases/unit/92 install skip subprojects/subprojects/bar/meson.build new file mode 100644 index 000000000..b5b073408 --- /dev/null +++ b/meson/test cases/unit/92 install skip subprojects/subprojects/bar/meson.build @@ -0,0 +1,6 @@ +project('bar', 'c') + +install_data('bar.dat') +install_headers('bar.h') +install_subdir('bar', install_dir: '') +executable('bar', 'bar.c', install: true) -- cgit 1.2.3-korg