mirror of
https://github.com/Genymobile/scrcpy
synced 2024-12-27 01:22:09 +00:00
3c2013de10
Warn if a global function is defined without a previous prototype declaration. It is not enabled by default at warning_level=2.
21 lines
443 B
Meson
21 lines
443 B
Meson
project('scrcpy', 'c',
|
|
version: '2.1.1',
|
|
meson_version: '>= 0.48',
|
|
default_options: [
|
|
'c_std=c11',
|
|
'warning_level=2',
|
|
'b_ndebug=if-release',
|
|
])
|
|
|
|
add_project_arguments('-Wmissing-prototypes', language: 'c')
|
|
|
|
if get_option('compile_app')
|
|
subdir('app')
|
|
endif
|
|
|
|
if get_option('compile_server')
|
|
subdir('server')
|
|
endif
|
|
|
|
run_target('run', command: ['scripts/run-scrcpy.sh'])
|