60c4e886d4
Make the versionCode a decimal representation of the scrcpy version. This will for example allow to correctly number the versionCode of v1.17.1 after a v1.18 is released: - v1.18 -> 11800 - v1.17.1 -> 11701 - v1.18.1 -> 11801
18 lines
380 B
Meson
18 lines
380 B
Meson
project('scrcpy', 'c',
|
|
version: '1.18',
|
|
meson_version: '>= 0.48',
|
|
default_options: [
|
|
'c_std=c11',
|
|
'warning_level=2',
|
|
'b_ndebug=if-release',
|
|
])
|
|
|
|
if get_option('compile_app')
|
|
subdir('app')
|
|
endif
|
|
|
|
if get_option('compile_server')
|
|
subdir('server')
|
|
endif
|
|
|
|
run_target('run', command: ['scripts/run-scrcpy.sh'])
|