Document the SLINT_FEATURE_XXX pre-processor variables

and sync them with the existing features.
This commit is contained in:
Simon Hausmann 2024-07-04 11:18:35 +02:00 committed by Simon Hausmann
parent 7ab7dd63c5
commit 6d79ca1a05
5 changed files with 49 additions and 9 deletions

View file

@ -961,7 +961,26 @@ macro_rules! declare_features {
};
}
declare_features! {interpreter backend_qt freestanding renderer_software renderer_skia experimental gettext testing}
declare_features! {
interpreter
testing
backend_qt
backend_winit
backend_winit_x11
backend_winit_wayland
backend_linuxkms
backend_linuxkms_noseat
renderer_femtovg
renderer_skia
renderer_skia_opengl
renderer_skia_vulkan
renderer_software
gettext
accessibility
system_testing
freestanding
experimental
}
/// Generate the headers.
/// `root_dir` is the root directory of the slint git repo