mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-30 07:07:25 +00:00
![]() While we haven't settled on the debug info feature and are merely controlling it via environment variable, setting that can be very hard - especially when using Yocto. To make life easier, let's do in C++ what we can't easily do for Rust but would like to: When enabling system testing, automatically emit the necessary debug info, by setting the environment variable when calling the compiler. This is done by adding SLINT_ENABLED_FEATURES and SLINT_DISABLED_FEATURES properties on the Slint::Slint target that - as lists - export the list of features and their status. This way we can compile Slint in once place and safely in the CMake code running in application scope check about the available features. |
||
---|---|---|
.. | ||
SlintConfig.cmake.in | ||
SlintMacro.cmake |