forked from slint-ui/slint
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
C++: Make the system testing feature automatically enable debug info
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.
- Loading branch information
Showing
2 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters