mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-31 07:37:24 +00:00
Add SLINT_TARGET_CARGO_FLAGS cmake variable
* Add SLINT_TARGET_CARGO_FLAGS cmake variable
This commit is contained in:
parent
a576b78ffb
commit
e7c306cf60
3 changed files with 17 additions and 0 deletions
|
@ -100,6 +100,12 @@ to discover and toggle features.
|
|||
This works when compiling Slint as a package, using `cmake --build` and
|
||||
`cmake --install`, or when including Slint using `FetchContent`.
|
||||
|
||||
### Rust Flags
|
||||
|
||||
Slint uses [Corrosion](https://github.com/corrosion-rs/corrosion) to build Slint, which is developed in Rust. You can utilize [Corrosion's global CMake variables](https://corrosion-rs.github.io/corrosion/usage.html#global-corrosion-options) to control certain aspects of the Rust build process.
|
||||
|
||||
Furthermore, you can set the `SLINT_TARGET_CARGO_FLAGS` cache variable to specify additional flags for the Slint runtime during the build.
|
||||
|
||||
### Back-Ends
|
||||
|
||||
Slint needs a back-end that acts as liaison between Slint and the OS. Several
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue