diff options
author | David Robillard <d@drobilla.net> | 2021-05-28 17:04:59 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-05-28 17:26:38 -0400 |
commit | 07bba3c80b2ee56c6e8be8a582e484a60a40b8f2 (patch) | |
tree | edda7a5b79c2d9f4e40cc691ef8ca73a55a7c443 /bindings/cpp | |
parent | 66e6dcff7839ac6a2507d12cc1299b5d784f7a3c (diff) | |
download | pugl-07bba3c80b2ee56c6e8be8a582e484a60a40b8f2.tar.gz pugl-07bba3c80b2ee56c6e8be8a582e484a60a40b8f2.tar.bz2 pugl-07bba3c80b2ee56c6e8be8a582e484a60a40b8f2.zip |
Split up meson build definitions more
Diffstat (limited to 'bindings/cpp')
-rw-r--r-- | bindings/cpp/include/meson.build | 12 | ||||
-rw-r--r-- | bindings/cpp/meson.build | 7 |
2 files changed, 19 insertions, 0 deletions
diff --git a/bindings/cpp/include/meson.build b/bindings/cpp/include/meson.build new file mode 100644 index 0000000..8d5c563 --- /dev/null +++ b/bindings/cpp/include/meson.build @@ -0,0 +1,12 @@ +cpp_headers = [ + 'pugl/pugl.hpp', + + 'pugl/cairo.hpp', + 'pugl/gl.hpp', + 'pugl/stub.hpp', + 'pugl/vulkan.hpp', +] + +cpp_header_files = files(cpp_headers) + +install_headers(cpp_headers, subdir: 'puglpp' + version_suffix / 'pugl') diff --git a/bindings/cpp/meson.build b/bindings/cpp/meson.build new file mode 100644 index 0000000..7f47f43 --- /dev/null +++ b/bindings/cpp/meson.build @@ -0,0 +1,7 @@ +subdir('include') + +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') |