diff options
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') |