aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/cpp/meson.build
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-10-07 14:53:16 -0400
committerDavid Robillard <d@drobilla.net>2022-10-07 14:53:16 -0400
commit9b8d847284eea14d64d8d22cefde8103dee41132 (patch)
tree8a8634d1dd903b14e402cc1e5b100d309ae3c04e /bindings/cpp/meson.build
parent727b6835a63d2a163dae434e1090a14aa7011373 (diff)
downloadpugl-9b8d847284eea14d64d8d22cefde8103dee41132.tar.gz
pugl-9b8d847284eea14d64d8d22cefde8103dee41132.tar.bz2
pugl-9b8d847284eea14d64d8d22cefde8103dee41132.zip
Clean up meson definitions
Diffstat (limited to 'bindings/cpp/meson.build')
-rw-r--r--bindings/cpp/meson.build15
1 files changed, 9 insertions, 6 deletions
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(),
+)