meson.build 345 字节
Newer Older
1
project('scrcpy', 'c',
R
Romain Vimont 已提交
2
        version: '1.16',
3
        meson_version: '>= 0.48',
4 5 6 7
        default_options: [
            'c_std=c11',
            'warning_level=2',
        ])
R
Romain Vimont 已提交
8

R
Romain Vimont 已提交
9
if get_option('compile_app')
10 11 12
    subdir('app')
endif

R
Romain Vimont 已提交
13
if get_option('compile_server')
14 15
    subdir('server')
endif
R
Romain Vimont 已提交
16 17

run_target('run', command: ['scripts/run-scrcpy.sh'])