Linux-Media Archive mirror
 help / color / mirror / Atom feed
From: Sebastian Wick <sebastian.wick@redhat.com>
To: linux-media@vger.kernel.org
Cc: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Subject: [PATCH 2/3] edid-decode: build: Move sources to its own variable and fix formatting
Date: Wed,  5 Jun 2024 13:09:02 +0200	[thread overview]
Message-ID: <20240605110907.621053-2-sebastian.wick@redhat.com> (raw)
In-Reply-To: <20240605110907.621053-1-sebastian.wick@redhat.com>

Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
---
 meson.build | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

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
-- 
2.45.0


  reply	other threads:[~2024-06-05 11:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-05 11:09 [PATCH 1/3] edid-decode: build: compile with -Wno-variadic-macros Sebastian Wick
2024-06-05 11:09 ` Sebastian Wick [this message]
2024-06-05 11:09 ` [PATCH 3/3] edid-decode: build: Use override_find_program to help subproject usage Sebastian Wick
2024-06-06  5:51 ` [PATCH 1/3] edid-decode: build: compile with -Wno-variadic-macros Hans Verkuil
2024-06-06  9:42   ` Sebastian Wick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240605110907.621053-2-sebastian.wick@redhat.com \
    --to=sebastian.wick@redhat.com \
    --cc=hverkuil-cisco@xs4all.nl \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).