slint-cpp-template
slint-cpp-template copied to clipboard
A template for a C++ Application using Slint
Require CMake 2.4 to intregate CMake FetchContent and find_package, according to https://cmake.org/cmake/help/latest/guide/using-dependencies/index.html#fetchcontent-and-find-package-integration This way FetchContent_MakeAvailable will first try to call find_package(Slint) and if that fails then fall back to building...
There are two issues when running `cmake --install $builddir`: 1. The application binary isn't installed. 2. When Slint is built via FetchContent, Slint is installed with headers, slint-compiler, etc. instead....
I want to silence warnings from `slint_generated_*.cpp` files and files in `_deps` folder. To solve the problem, I did the following. 1. Provide `SYSTEM` argument in `FetchContent_Declare()` to silence warnings...