From cff1c2f740a2f7d22339a0fae14c4923223a8d61 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Fri, 22 Nov 2019 20:11:15 +1300 Subject: meson: Various improvements Bumps minimum version to 0.51.0 - Remove all intermediate static libraries. They serve no purpose and are just add a bunch of boilerplate for managing dependencies and options. It's now managed as a list of files which are compiled into libwlroots directly. - Use install_subdir instead of installing headers individually. I've changed my mind since I did that. Listing them out is annoying as hell, and it's easy to forget to do it. - Add not_found_message for all of our optional dependencies that have a meson option. It gives some hints about what option to pass and what the optional dependency is for. - Move all backend subdirectories into their own meson.build. This keeps some of the backend-specific build logic (especially rdp and session) more neatly separated off. - Don't overlink example clients with code they're not using. This was done by merging the protocol dictionaries and setting some variables containing the code and client header file. Example clients now explicitly mention what extension protocols they want to link to. - Split compositor example logic from client example logic. - Minor formatting changes --- xcursor/meson.build | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'xcursor') diff --git a/xcursor/meson.build b/xcursor/meson.build index 31040a92..a85051e9 100644 --- a/xcursor/meson.build +++ b/xcursor/meson.build @@ -1,9 +1,4 @@ -lib_wlr_xcursor = static_library( - 'wlr_xcursor', - files( - 'wlr_xcursor.c', - 'xcursor.c', - ), - include_directories: wlr_inc, - dependencies: [egl] # header required via include/wlr/render.h +wlr_files += files( + 'wlr_xcursor.c', + 'xcursor.c', ) -- cgit v1.2.3