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/common/81 extract all/meson.build | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 meson/test cases/common/81 extract all/meson.build (limited to 'meson/test cases/common/81 extract all/meson.build') diff --git a/meson/test cases/common/81 extract all/meson.build b/meson/test cases/common/81 extract all/meson.build new file mode 100644 index 000000000..4f08a4fa6 --- /dev/null +++ b/meson/test cases/common/81 extract all/meson.build @@ -0,0 +1,13 @@ +project('extract all', 'c') + +a = static_library('a', 'one.c', 'two.c') +b = static_library('b', 'three.c', 'four.c') +c = static_library('c', objects : [a.extract_all_objects(), b.extract_all_objects()]) +d = static_library('d', objects : [a.extract_all_objects(), b.extract_all_objects(), c.extract_all_objects()]) +d_recursive = static_library('d_recursive', objects : [c.extract_all_objects(recursive : true)]) + +e = executable('proggie', 'prog.c', link_with : d) +test('extall', e) + +e = executable('proggie_recursive', 'prog.c', link_with : d_recursive) +test('extall_recursive', e) -- cgit 1.2.3-korg