From 7b6e527f440cd7e6f8be2b07cee320ee6ca18786 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 29 Apr 2024 06:41:38 +0200 Subject: Adding upstream version 1.0.1. Signed-off-by: Daniel Baumann --- .../common/78 internal dependency/proj1/include/proj1.h | 5 +++++ test cases/common/78 internal dependency/proj1/meson.build | 11 +++++++++++ test cases/common/78 internal dependency/proj1/proj1f1.c | 6 ++++++ test cases/common/78 internal dependency/proj1/proj1f2.c | 6 ++++++ test cases/common/78 internal dependency/proj1/proj1f3.c | 6 ++++++ 5 files changed, 34 insertions(+) create mode 100644 test cases/common/78 internal dependency/proj1/include/proj1.h create mode 100644 test cases/common/78 internal dependency/proj1/meson.build create mode 100644 test cases/common/78 internal dependency/proj1/proj1f1.c create mode 100644 test cases/common/78 internal dependency/proj1/proj1f2.c create mode 100644 test cases/common/78 internal dependency/proj1/proj1f3.c (limited to 'test cases/common/78 internal dependency/proj1') diff --git a/test cases/common/78 internal dependency/proj1/include/proj1.h b/test cases/common/78 internal dependency/proj1/include/proj1.h new file mode 100644 index 0000000..ecb1e4b --- /dev/null +++ b/test cases/common/78 internal dependency/proj1/include/proj1.h @@ -0,0 +1,5 @@ +#pragma once + +void proj1_func1(void); +void proj1_func2(void); +void proj1_func3(void); diff --git a/test cases/common/78 internal dependency/proj1/meson.build b/test cases/common/78 internal dependency/proj1/meson.build new file mode 100644 index 0000000..422021e --- /dev/null +++ b/test cases/common/78 internal dependency/proj1/meson.build @@ -0,0 +1,11 @@ +incdirs = include_directories('include') + +p1lib = static_library('proj1', 'proj1f1.c', + include_directories : incdirs +) + +indirect_source = files('proj1f2.c') + +proj1_dep = declare_dependency(include_directories : incdirs, + link_with : p1lib, + sources : ['proj1f3.c', indirect_source]) diff --git a/test cases/common/78 internal dependency/proj1/proj1f1.c b/test cases/common/78 internal dependency/proj1/proj1f1.c new file mode 100644 index 0000000..69fa823 --- /dev/null +++ b/test cases/common/78 internal dependency/proj1/proj1f1.c @@ -0,0 +1,6 @@ +#include +#include + +void proj1_func1(void) { + printf("In proj1_func1.\n"); +} diff --git a/test cases/common/78 internal dependency/proj1/proj1f2.c b/test cases/common/78 internal dependency/proj1/proj1f2.c new file mode 100644 index 0000000..7dd621c --- /dev/null +++ b/test cases/common/78 internal dependency/proj1/proj1f2.c @@ -0,0 +1,6 @@ +#include +#include + +void proj1_func2(void) { + printf("In proj1_func2.\n"); +} diff --git a/test cases/common/78 internal dependency/proj1/proj1f3.c b/test cases/common/78 internal dependency/proj1/proj1f3.c new file mode 100644 index 0000000..2861ddc --- /dev/null +++ b/test cases/common/78 internal dependency/proj1/proj1f3.c @@ -0,0 +1,6 @@ +#include +#include + +void proj1_func3(void) { + printf("In proj1_func3.\n"); +} -- cgit v1.2.3