f705a73149
Meson decided to crossbuild for Windows as soon as meson.is_cross_build() returned true. This made non-Windows crossbuilds fail. Instead, add an explicit option "crossbuild_windows". Fixes <https://github.com/Genymobile/scrcpy/issues/165>.
8 lines
791 B
Meson
8 lines
791 B
Meson
option('build_app', type: 'boolean', value: true, description: 'Build the client')
|
|
option('build_server', type: 'boolean', value: true, description: 'Build the server')
|
|
option('crossbuild_windows', type: 'boolean', value: false, description: 'Build for Windows from Linux')
|
|
option('windows_noconsole', type: 'boolean', value: false, description: 'Disable console on Windows (pass -mwindows flag)')
|
|
option('prebuilt_server', type: 'string', description: 'Path of the prebuilt server')
|
|
option('override_server_path', type: 'string', description: 'Hardcoded path to find the server at runtime')
|
|
option('skip_frames', type: 'boolean', value: true, description: 'Always display the most recent frame')
|
|
option('hidpi_support', type: 'boolean', value: true, description: 'Enable High DPI support')
|