mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-01-01 03:18:32 +00:00
32 lines
1.4 KiB
CMake
32 lines
1.4 KiB
CMake
# if this option is set, the build will exit after configuring special package configuration files
|
|
option(SUNSHINE_CONFIGURE_ONLY "Configure special files only, then exit." OFF)
|
|
|
|
option(SUNSHINE_ENABLE_TRAY "Enable system tray icon. This option will be ignored on macOS." ON)
|
|
option(SUNSHINE_REQUIRE_TRAY "Require system tray icon. Fail the build if tray requirements are not met." ON)
|
|
|
|
if(APPLE)
|
|
option(SUNSHINE_CONFIGURE_PORTFILE
|
|
"Configure macOS Portfile. Recommended to use with SUNSHINE_CONFIGURE_ONLY" OFF)
|
|
option(SUNSHINE_PACKAGE_MACOS
|
|
"Should only be used when creating a macOS package/dmg." OFF)
|
|
elseif(UNIX) # Linux
|
|
option(SUNSHINE_BUILD_APPIMAGE
|
|
"Enable an AppImage build." OFF)
|
|
option(SUNSHINE_BUILD_FLATPAK
|
|
"Enable a Flatpak build." OFF)
|
|
option(SUNSHINE_CONFIGURE_PKGBUILD
|
|
"Configure files required for AUR. Recommended to use with SUNSHINE_CONFIGURE_ONLY" OFF)
|
|
option(SUNSHINE_CONFIGURE_FLATPAK_MAN
|
|
"Configure manifest file required for Flatpak build. Recommended to use with SUNSHINE_CONFIGURE_ONLY" OFF)
|
|
|
|
# Linux capture methods
|
|
option(SUNSHINE_ENABLE_CUDA
|
|
"Enable cuda specific code." ON)
|
|
option(SUNSHINE_ENABLE_DRM
|
|
"Enable KMS grab if available." ON)
|
|
option(SUNSHINE_ENABLE_WAYLAND
|
|
"Enable building wayland specific code." ON)
|
|
option(SUNSHINE_ENABLE_X11
|
|
"Enable X11 grab if available." ON)
|
|
endif()
|