slint/api/cpp/cmake
Olivier Goffart de0836d1a0 C++: Fix ninja always rebuilding the .slint file
two bugs:
 - If the .slint file did not contain any import, the depfile would have
   no dependencies, and as a result, ninja would consider that it is
   always dirty.
 - In case the binary dir is a sub directory, the dependencies were
   relative to the wrong directory. Thgis is because the behavior
   changed in some version of cmake (see https://cmake.org/cmake/help/latest/policy/CMP0116.html)
   to avoid any problem, use the absolute paths

Fixes #3261
2023-08-30 09:54:03 +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 C++: Fix ninja always rebuilding the .slint file 2023-08-30 09:54:03 +02:00