From 9b8d847284eea14d64d8d22cefde8103dee41132 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 7 Oct 2022 14:53:16 -0400 Subject: Clean up meson definitions --- bindings/cpp/meson.build | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'bindings') diff --git a/bindings/cpp/meson.build b/bindings/cpp/meson.build index 5dd30da..313f1df 100644 --- a/bindings/cpp/meson.build +++ b/bindings/cpp/meson.build @@ -4,12 +4,15 @@ subdir('include') puglpp_dep = declare_dependency( + dependencies: core_deps + [pugl_dep], include_directories: include_directories('include'), link_with: libpugl, - dependencies: core_deps + [pugl_dep]) +) -pkg.generate(name: 'Pugl++', - filebase: 'puglpp-@0@'.format(major_version), - subdirs: ['puglpp-@0@'.format(major_version)], - version: meson.project_version(), - description: 'Pugl GUI library C++ bindings') +pkg.generate( + description: 'Pugl GUI library C++ bindings', + filebase: 'puglpp-@0@'.format(major_version), + name: 'Pugl++', + subdirs: ['puglpp-@0@'.format(major_version)], + version: meson.project_version(), +) -- cgit v1.2.1