slint/api/cpp/cmake
Simon Hausmann e9286c1189 Make it possible to build the slint-cpp crate as a static library
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.
2023-07-21 18:32:45 +02:00
..
SlintConfig.cmake.in Make it possible to build the slint-cpp crate as a static library 2023-07-21 18:32:45 +02:00
SlintMacro.cmake Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00