aboutsummaryrefslogtreecommitdiffstats
path: root/bindings
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-05-20 10:41:34 -0400
committerDavid Robillard <d@drobilla.net>2022-05-20 13:17:45 -0400
commit1118da579607bac768ae953fecadb6153818488d (patch)
tree67ff1ae9f7400be070ee30284b5d0bcdbb834b22 /bindings
parentd6ad1b79b97974ad3e3bd2a1b2c7474f0dd797b0 (diff)
downloadpugl-1118da579607bac768ae953fecadb6153818488d.tar.gz
pugl-1118da579607bac768ae953fecadb6153818488d.tar.bz2
pugl-1118da579607bac768ae953fecadb6153818488d.zip
MacOS: Build examples as application bundles
This is required on MacOS to make the examples usable. When run as bare programs, they don't show up as normal windows or receive keyboard input.
Diffstat (limited to 'bindings')
-rw-r--r--bindings/cpp/meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/bindings/cpp/meson.build b/bindings/cpp/meson.build
index 6502690..5dd30da 100644
--- a/bindings/cpp/meson.build
+++ b/bindings/cpp/meson.build
@@ -3,6 +3,11 @@
subdir('include')
+puglpp_dep = declare_dependency(
+ 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)],