Rename the x11 and wayland features to backend-gl-x11/wayland

This commit is contained in:
Simon Hausmann 2022-02-08 08:21:48 +01:00 committed by Simon Hausmann
parent 681ad9971e
commit 48f3f47401
9 changed files with 23 additions and 21 deletions

View file

@ -59,10 +59,10 @@ not enabled by default but that is revelant for you, or you may want to disable
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 enable support for the Wayland windowing system on Linux by enabling the `SLINT_FEATURE_WAYLAND` feature. There are
you can enable support for the Wayland windowing system on Linux by enabling the `SLINT_FEATURE_BACKEND_GL_WAYLAND` feature. There are
different ways of toggling CMake options. For example on the command line using the `-D` parameter:
`cmake -DSLINT_FEATURE_WAYLAND=ON ...`
`cmake -DSLINT_FEATURE_BACKEND_GL_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.