mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-31 15:47:26 +00:00
Fix up the C++ docs explaining how to create a wayland-only build
This commit is contained in:
parent
90d67be1a4
commit
fcd1faa336
1 changed files with 3 additions and 3 deletions
|
@ -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_BACKEND_GL_WAYLAND` feature. There are
|
||||
different ways of toggling CMake options. For example on the command line using the `-D` parameter:
|
||||
you can make a build that exclusively supports Wayland on Linux by enabling the `SLINT_FEATURE_BACKEND_GL_WAYLAND` feature and turning
|
||||
off `SLINT_FEATURE_BACKEND_GL_ALL`. There are different ways of toggling CMake options. For example on the command line using the `-D` parameter:
|
||||
|
||||
`cmake -DSLINT_FEATURE_BACKEND_GL_WAYLAND=ON ...`
|
||||
`cmake -DSLINT_FEATURE_BACKEND_GL_ALL=OFF -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue