From 854ba7fae4dd8d74f7708922f1a0cc6e9c91c82d Mon Sep 17 00:00:00 2001 From: sergiotarxz Date: Thu, 7 Jul 2022 00:28:25 +0200 Subject: [PATCH] Adding pkgconfig. --- meson.build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 1dbcd1b..f63da00 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,5 @@ project('me.sergiotarxz.owlpath', 'vala') +pkg = import('pkgconfig') compiler = meson.get_compiler('c') vapidir = meson.project_source_root() / 'vapi' @@ -33,9 +34,11 @@ owlpath_lib = library('owlpath', install : true, install_dir: [true, true, true], ) +pkg.generate(owlpath_lib) -executable('owlpath-test', +owlpath_test = executable('owlpath-test', ['test/00-owlpath.test.vala'], dependencies : owlpath_deps, link_with: [owlpath_lib] ) +test ('owlpath', owlpath_test )