eb34098add
To create a portable build (with scrcpy-server.jar accessible from the scrcpy directory), replace OVERRIDE_SERVER_PATH by a simple compilation flag: PORTABLE. This paves the way to use more complex rules to determine the path of scrcpy-server.jar in portable builds.
8 lines
784 B
Meson
8 lines
784 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('portable', type: 'boolean', description: 'Use scrcpy-server.jar from the current directory')
|
|
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')
|