diff options
Diffstat (limited to 'meson/test cases/common/185 same target name')
4 files changed, 11 insertions, 0 deletions
diff --git a/meson/test cases/common/185 same target name/file.c b/meson/test cases/common/185 same target name/file.c new file mode 100644 index 000000000..91800303c --- /dev/null +++ b/meson/test cases/common/185 same target name/file.c @@ -0,0 +1,3 @@ +int func(void) { + return 0; +} diff --git a/meson/test cases/common/185 same target name/meson.build b/meson/test cases/common/185 same target name/meson.build new file mode 100644 index 000000000..4e585d56e --- /dev/null +++ b/meson/test cases/common/185 same target name/meson.build @@ -0,0 +1,4 @@ +project('same name', 'c') + +static_library('foo', 'file.c') +subdir('sub') diff --git a/meson/test cases/common/185 same target name/sub/file2.c b/meson/test cases/common/185 same target name/sub/file2.c new file mode 100644 index 000000000..3d1a1c323 --- /dev/null +++ b/meson/test cases/common/185 same target name/sub/file2.c @@ -0,0 +1,3 @@ +int func(void) { + return 5; +} diff --git a/meson/test cases/common/185 same target name/sub/meson.build b/meson/test cases/common/185 same target name/sub/meson.build new file mode 100644 index 000000000..610a4a3c7 --- /dev/null +++ b/meson/test cases/common/185 same target name/sub/meson.build @@ -0,0 +1 @@ +static_library('foo', 'file2.c') |