mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-01 04:18:14 +00:00
Remove erroneous mention of SLINT_FEATURE_EVENTLOOP_WINIT_ALL
We used to have SLINT_FEATURE_BACKEND_GL_ALL, but when we introduced the renderer and event loop distinction in the features, we removed the "all" suffix from the event loop that includes x11 and wayland support.
This commit is contained in:
parent
581bd04253
commit
a7121a6177
3 changed files with 7 additions and 7 deletions
|
|
@ -81,8 +81,8 @@ endfunction()
|
|||
define_cargo_feature(interpreter "Enable support for the Slint interpeter to load .slint files at run-time" ON)
|
||||
|
||||
define_cargo_feature(eventloop-winit "Enable support for the winit crate to interaction with all windowing systems." ON)
|
||||
define_cargo_feature(eventloop-winit-x11 "Enable support for the winit create to interact only with the X11 windowing system on Unix. Enable this option and turn off SLINT_FEATURE_EVENTLOOP_WINIT_ALL for a smaller build with just X11 support on Unix." OFF)
|
||||
define_cargo_feature(eventloop-winit-wayland "Enable support for the winit create to interact only with the wayland windowing system on Unix. Enable this option and turn off SLINT_FEATURE_EVENTLOOP_WINIT_ALL for a smaller build with just wayland support." OFF)
|
||||
define_cargo_feature(eventloop-winit-x11 "Enable support for the winit create to interact only with the X11 windowing system on Unix. Enable this option and turn off SLINT_FEATURE_EVENTLOOP_WINIT for a smaller build with just X11 support on Unix." OFF)
|
||||
define_cargo_feature(eventloop-winit-wayland "Enable support for the winit create to interact only with the wayland windowing system on Unix. Enable this option and turn off SLINT_FEATURE_EVENTLOOP_WINIT for a smaller build with just wayland support." OFF)
|
||||
|
||||
define_cargo_feature(renderer-femtovg "Enable support for the OpenGL ES 2.0 based FemtoVG rendering engine." ON)
|
||||
define_cargo_feature(renderer-skia "Enable support for the Skia based rendering engine." ON)
|
||||
|
|
@ -90,12 +90,12 @@ define_cargo_feature(renderer-skia "Enable support for the Skia based rendering
|
|||
define_cargo_feature(backend-qt "Enable Qt based rendering backend" ON)
|
||||
|
||||
# Compat options
|
||||
option(SLINT_FEATURE_BACKEND_GL_ALL "This feature is an alias for SLINT_FEATURE_EVENTLOOP_WINIT_ALL and SLINT_FEATURE_RENDERER_FEMTOVG." OFF)
|
||||
option(SLINT_FEATURE_BACKEND_GL_ALL "This feature is an alias for SLINT_FEATURE_EVENTLOOP_WINIT and SLINT_FEATURE_RENDERER_FEMTOVG." OFF)
|
||||
option(SLINT_FEATURE_BACKEND_GL_X11 "This feature is an alias for SLINT_FEATURE_EVENTLOOP_WINIT_X11 and SLINT_FEATURE_RENDERER_FEMTOVG." OFF)
|
||||
option(SLINT_FEATURE_BACKEND_GL_WAYLAND "This feature is an alias for SLINT_FEATURE_EVENTLOOP_WINIT_WAYLAND and SLINT_FEATURE_RENDERER_FEMTOVG." OFF)
|
||||
|
||||
if(SLINT_FEATURE_BACKEND_GL_ALL)
|
||||
set(SLINT_FEATURE_EVENTLOOP_WINIT_ALL ON)
|
||||
set(SLINT_FEATURE_EVENTLOOP_WINIT ON)
|
||||
set(SLINT_FEATURE_RENDERER_FEMTOVG ON)
|
||||
endif()
|
||||
|
||||
|
|
|
|||
|
|
@ -60,9 +60,9 @@ therefore reduce the size of the resulting library.
|
|||
|
||||
The CMake configure step offers CMake options for various feature that are all prefixed with `SLINT_FEATURE_`. For example
|
||||
you can make a build that exclusively supports Wayland on Linux by enabling the `SLINT_FEATURE_EVENTLOOP_WINIT_WAYLAND` feature and turning
|
||||
off `SLINT_FEATURE_EVENTLOOP_WINIT_ALL`. There are different ways of toggling CMake options. For example on the command line using the `-D` parameter:
|
||||
off `SLINT_FEATURE_EVENTLOOP_WINIT`. There are different ways of toggling CMake options. For example on the command line using the `-D` parameter:
|
||||
|
||||
`cmake -DSLINT_FEATURE_EVENTLOOP_WINIT_ALL=OFF -DSLINT_FEATURE_EVENTLOOP_WINIT_WAYLAND=ON ...`
|
||||
`cmake -DSLINT_FEATURE_EVENTLOOP_WINIT=OFF -DSLINT_FEATURE_EVENTLOOP_WINIT_WAYLAND=ON ...`
|
||||
|
||||
Alternatively, after the configure step you can use `cmake-gui` or `ccmake` on the build directory for a list of all features
|
||||
and their description.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue