aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorScott Anderson <scott@anderso.nz>2019-11-22 20:11:15 +1300
committerDrew DeVault <sir@cmpwn.com>2019-12-23 07:48:29 -0500
commitcff1c2f740a2f7d22339a0fae14c4923223a8d61 (patch)
treef1ecfe2a5345f3b1ef5b94260e909c5143fcd64d /util
parentfc6c0ca12e941d5d7d567834bff3ab7df9447001 (diff)
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
Diffstat (limited to 'util')
-rw-r--r--util/meson.build17
1 files changed, 6 insertions, 11 deletions
diff --git a/util/meson.build b/util/meson.build
index dca3e9a4..c6614275 100644
--- a/util/meson.build
+++ b/util/meson.build
@@ -1,12 +1,7 @@
-lib_wlr_util = static_library(
- 'wlr_util',
- files(
- 'array.c',
- 'log.c',
- 'region.c',
- 'shm.c',
- 'signal.c',
- ),
- include_directories: wlr_inc,
- dependencies: [wayland_server, pixman, rt],
+wlr_files += files(
+ 'array.c',
+ 'log.c',
+ 'region.c',
+ 'shm.c',
+ 'signal.c',
)