Format meson.build for readability
This commit is contained in:
parent
08f506b24f
commit
0fbab42f8c
1 changed files with 21 additions and 5 deletions
|
@ -143,18 +143,34 @@ else
|
||||||
link_args = []
|
link_args = []
|
||||||
endif
|
endif
|
||||||
|
|
||||||
executable('scrcpy', src, dependencies: dependencies, include_directories: src_dir, install: true, c_args: c_args, link_args: link_args)
|
executable('scrcpy', src,
|
||||||
|
dependencies: dependencies,
|
||||||
|
include_directories: src_dir,
|
||||||
|
install: true,
|
||||||
|
c_args: c_args,
|
||||||
|
link_args: link_args)
|
||||||
|
|
||||||
|
|
||||||
### TESTS
|
### TESTS
|
||||||
|
|
||||||
tests = [
|
tests = [
|
||||||
['test_control_event_queue', ['tests/test_control_event_queue.c', 'src/control_event.c']],
|
['test_control_event_queue', [
|
||||||
['test_control_event_serialize', ['tests/test_control_event_serialize.c', 'src/control_event.c']],
|
'tests/test_control_event_queue.c',
|
||||||
['test_strutil', ['tests/test_strutil.c', 'src/str_util.c']],
|
'src/control_event.c'
|
||||||
|
]],
|
||||||
|
['test_control_event_serialize', [
|
||||||
|
'tests/test_control_event_serialize.c',
|
||||||
|
'src/control_event.c'
|
||||||
|
]],
|
||||||
|
['test_strutil', [
|
||||||
|
'tests/test_strutil.c',
|
||||||
|
'src/str_util.c'
|
||||||
|
]],
|
||||||
]
|
]
|
||||||
|
|
||||||
foreach t : tests
|
foreach t : tests
|
||||||
exe = executable(t[0], t[1], include_directories: src_dir, dependencies: dependencies)
|
exe = executable(t[0], t[1],
|
||||||
|
include_directories: src_dir,
|
||||||
|
dependencies: dependencies)
|
||||||
test(t[0], exe)
|
test(t[0], exe)
|
||||||
endforeach
|
endforeach
|
||||||
|
|
Loading…
Reference in a new issue