From 368f74e4dfab7d58293ef7d6214e6cdbe94e4fdd Mon Sep 17 00:00:00 2001 From: Tony Crisci Date: Wed, 30 Aug 2017 14:30:47 -0400 Subject: Refactor meson build files Use tabs for indentation and break up function calls over 80 col. --- examples/meson.build | 33 +++++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 8 deletions(-) (limited to 'examples') diff --git a/examples/meson.build b/examples/meson.build index 8fda974f..5d3ff52a 100644 --- a/examples/meson.build +++ b/examples/meson.build @@ -1,14 +1,31 @@ -lib_shared = static_library('shared', - ['shared.c', 'cat.c', 'ini.c', 'config.c'], - dependencies: wlroots) +lib_shared = static_library( + 'shared', + ['shared.c', 'cat.c', 'ini.c', 'config.c'], + dependencies: wlroots, +) executable('simple', 'simple.c', dependencies: wlroots, link_with: lib_shared) -executable('rotation', 'rotation.c', dependencies: wlroots, link_with: lib_shared) executable('pointer', 'pointer.c', dependencies: wlroots, link_with: lib_shared) executable('touch', 'touch.c', dependencies: wlroots, link_with: lib_shared) executable('tablet', 'tablet.c', dependencies: wlroots, link_with: lib_shared) -executable('output-layout', 'output-layout.c', dependencies: wlroots, link_with: lib_shared) -executable('compositor', 'compositor.c', - dependencies: wlroots, - link_with: lib_shared) +executable( + 'rotation', + 'rotation.c', + dependencies: wlroots, + link_with: lib_shared, +) + +executable( + 'output-layout', + 'output-layout.c', + dependencies: wlroots, + link_with: lib_shared, +) + +executable( + 'compositor', + 'compositor.c', + dependencies: wlroots, + link_with: lib_shared, +) -- cgit v1.2.3