scrcpy/meson.build
Romain Vimont c2127d0819 Replace meson subprojects by subdir
Since Meson 0.44, subproject_dir may not be '.' anymore. This implies we
must move app/ and server/ to a subprojects/ directory, which requires
to also change some gradle files.

Instead, just use subdir(), with options to disable building of the app
or the server.
2018-02-14 14:03:56 +01:00

11 lines
188 B
Meson

project('scrcpy', 'c')
if get_option('build_app')
subdir('app')
endif
if get_option('build_server')
subdir('server')
endif
run_target('run', command: ['scripts/run-scrcpy.sh'])