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.
This commit is contained in:
Romain Vimont
2018-02-14 11:10:09 +01:00
parent ff94462d8a
commit c2127d0819
5 changed files with 12 additions and 7 deletions

View File

@@ -1,5 +1,3 @@
project('scrcpy-app', 'c')
src = [
'src/main.c',
'src/command.c',