mirror of
https://github.com/slint-ui/slint.git
synced 2025-07-17 10:05:25 +00:00
![]() This requires the following changes: - Delay configuring SlintConfig.cmake: Corrosion sets the `IMPORTED` locations late to allow us to set OUTPUT_DIRECTORY target properties. The configuration of SlintConfig.cmake must be deferred until after Corrosion set the locations. Since we are writing to a config file Generator expressions are not an option. - Remove BUILD_TYPE mapping from SlintConfig.cmake: As discussed in https://github.com/slint-ui/slint/pull/1785#issuecomment-1294630845 remove the mapping of the build types since corrosion now always sets the `IMPORTED_LOCATION` property. User facing improvements enabled by the update: - Corrosion will not fail anymore if the user has a Rust toolchain >=1.60 installed, but the default toolchain is < 1.60. - Corrosion will respect OUTPUT_DIRECTORY properties and move target artifacts to the expected locations |
||
---|---|---|
.. | ||
SlintConfig.cmake.in | ||
SlintMacro.cmake |