aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/78 internal dependency/proj1/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/78 internal dependency/proj1/meson.build')
-rw-r--r--meson/test cases/common/78 internal dependency/proj1/meson.build11
1 files changed, 11 insertions, 0 deletions
diff --git a/meson/test cases/common/78 internal dependency/proj1/meson.build b/meson/test cases/common/78 internal dependency/proj1/meson.build
new file mode 100644
index 000000000..422021edb
--- /dev/null
+++ b/meson/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])