diff options
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 5049872..9a59016 100644 --- a/meson.build +++ b/meson.build @@ -102,6 +102,27 @@ yasl_dep = declare_dependency( ) meson.override_dependency('yasl', yasl_dep) +install_headers( + 'include/yasl/yasl.h', 'include/yasl/app.h', 'include/yasl/loop.h', + 'include/yasl/timing.h', 'include/yasl/keycodes.h', 'include/yasl/native.h', + 'include/yasl/desktop.h', subdir: 'yasl', +) +if has_wayland + install_headers('include/yasl/native/wayland.h', subdir: 'yasl/native') +endif +if has_x11 + install_headers('include/yasl/native/x11.h', subdir: 'yasl/native') +endif +if has_cocoa + install_headers('include/yasl/native/cocoa.h', subdir: 'yasl/native') +endif +pkgconfig = import('pkgconfig') +pkgconfig.generate(yasl_lib, name: 'yasl', + description: 'Desktop surfaces for application-owned rendering', + libraries_private: deps, +) + + hello_example = executable( 'yasl-hello', 'examples/hello.c', |
