3da95b52bd
The server name ending with .jar has several drawbacks: - meson requires the jar executable to attempt to modify it: <https://github.com/Genymobile/scrcpy/issues/404#issuecomment-456065923> <https://github.com/mesonbuild/meson/issues/4844> - meson warns during "ninja install" <https://github.com/Genymobile/scrcpy/issues/458> - some users try to execute it on the computer as a java executable Removing the extension solves all these problems.
7 lines
715 B
Meson
7 lines
715 B
Meson
option('compile_app', type: 'boolean', value: true, description: 'Build the client')
|
|
option('compile_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('portable', type: 'boolean', value: false, description: 'Use scrcpy-server from the same directory as the scrcpy executable')
|
|
option('hidpi_support', type: 'boolean', value: true, description: 'Enable High DPI support')
|