diff mbox series

[2/3] edid-decode: build: Move sources to its own variable and fix formatting

Message ID 20240605110907.621053-2-sebastian.wick@redhat.com (mailing list archive)
State New
Headers show
Series [1/3] edid-decode: build: compile with -Wno-variadic-macros | expand

Commit Message

Sebastian Wick June 5, 2024, 11:09 a.m. UTC
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
---
 meson.build | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git ./meson.build ../meson.build
index 80f810f..e61d544 100644
--- ./meson.build
+++ ../meson.build
@@ -47,8 +47,7 @@  if target_machine.system() == 'emscripten'
 	endforeach
 endif
 
-edid_decode = executable(
-	'edid-decode',
+edid_decode_sources = [
 	'calc-gtf-cvt.cpp',
 	'calc-ovt.cpp',
 	'edid-decode.cpp',
@@ -58,9 +57,14 @@  edid_decode = executable(
 	'parse-displayid-block.cpp',
 	'parse-ls-ext-block.cpp',
 	'parse-vtb-ext-block.cpp',
-	cpp_args : edid_decode_args,
+]
+
+edid_decode = executable(
+	'edid-decode',
+	sources: edid_decode_sources,
+	cpp_args: edid_decode_args,
 	link_args: edid_decode_link_args,
-	install : true,
+	install: true,
 )
 
 install_man('edid-decode.1')
\ No newline at end of file