02692ffa42
Recent versions of meson complain about an option having name starting with "build_": > DEPRECATION: Option uses prefix "build_", which is reserved for Meson. > This will become an error in the future. Use "compile_" instead.
14 lines
288 B
Meson
14 lines
288 B
Meson
project('scrcpy', 'c',
|
|
version: '1.9',
|
|
meson_version: '>= 0.37',
|
|
default_options: 'c_std=c11')
|
|
|
|
if get_option('compile_app')
|
|
subdir('app')
|
|
endif
|
|
|
|
if get_option('compile_server')
|
|
subdir('server')
|
|
endif
|
|
|
|
run_target('run', command: ['scripts/run-scrcpy.sh'])
|