mirror of
https://gitlab.freedesktop.org/emersion/libdisplay-info.git
synced 2024-12-25 21:59:08 +01:00
build: split off di-edid-decode into separate file
Avoids repeating the directory name. Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
parent
448046519e
commit
a001cab480
2 changed files with 12 additions and 12 deletions
11
di-edid-decode/meson.build
Normal file
11
di-edid-decode/meson.build
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
di_edid_decode = executable(
|
||||||
|
'di-edid-decode',
|
||||||
|
[
|
||||||
|
'cta.c',
|
||||||
|
'displayid.c',
|
||||||
|
'edid.c',
|
||||||
|
'main.c',
|
||||||
|
],
|
||||||
|
dependencies: [di_dep, math],
|
||||||
|
install: true,
|
||||||
|
)
|
13
meson.build
13
meson.build
|
@ -84,16 +84,5 @@ di_dep = declare_dependency(
|
||||||
|
|
||||||
meson.override_dependency('libdisplay-info', di_dep)
|
meson.override_dependency('libdisplay-info', di_dep)
|
||||||
|
|
||||||
di_edid_decode = executable(
|
subdir('di-edid-decode')
|
||||||
'di-edid-decode',
|
|
||||||
[
|
|
||||||
'di-edid-decode/cta.c',
|
|
||||||
'di-edid-decode/displayid.c',
|
|
||||||
'di-edid-decode/edid.c',
|
|
||||||
'di-edid-decode/main.c',
|
|
||||||
],
|
|
||||||
dependencies: [di_dep, math],
|
|
||||||
install: true,
|
|
||||||
)
|
|
||||||
|
|
||||||
subdir('test')
|
subdir('test')
|
||||||
|
|
Loading…
Reference in a new issue