mirror of
https://github.com/allankoechke/slint.git
synced 2026-11-30 17:26:35 +00:00
This isn't supported on desktop yet, but on MCU it is. Cargo is instructed to build a dylib and a staticlib, but corrosion instructs rustc to build only either dylib or staticlib. Corrosion listens to the BUILD_SHARED_LIBS option and will change the default for the Slint::Slint INTERFACE_LINK_LIBRARIES to either slint-cpp-shared or slint-cpp-static. This way the selection is transparent to the users.