aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/frameworks/22 gir link order/get-prgname/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/frameworks/22 gir link order/get-prgname/meson.build')
-rw-r--r--meson/test cases/frameworks/22 gir link order/get-prgname/meson.build13
1 files changed, 13 insertions, 0 deletions
diff --git a/meson/test cases/frameworks/22 gir link order/get-prgname/meson.build b/meson/test cases/frameworks/22 gir link order/get-prgname/meson.build
new file mode 100644
index 000000000..6a7489db4
--- /dev/null
+++ b/meson/test cases/frameworks/22 gir link order/get-prgname/meson.build
@@ -0,0 +1,13 @@
+get_prgname_sources = ['get-prgname.c', 'get-prgname.h']
+get_prgname_lib = shared_library(
+ 'get-prgname',
+ sources : get_prgname_sources,
+ dependencies : [glib],
+ install : false,
+)
+
+get_prgname_includes = include_directories('.')
+get_prgname = declare_dependency(
+ include_directories : get_prgname_includes,
+ link_with : get_prgname_lib,
+)