cblack added a comment.
In D28444#638988 <https://phabricator.kde.org/D28444#638988>, @IlyaBizyaev wrote: > In D28444#638877 <https://phabricator.kde.org/D28444#638877>, @cblack wrote: > > > CMake needs to know when the Rust source has changed so it can rebuild it > > > Changes to Rust code need to be tracked by Cargo, not by CMake CMake needs to know what files Cargo wants to build in order to invoke it only when Rust files change. There's no reason to invoke Cargo every time `make` is ran when CMake has the ability to keep track of dirty files. REPOSITORY R240 Extra CMake Modules REVISION DETAIL https://phabricator.kde.org/D28444 To: cblack, #frameworks, #build_system Cc: apol, IlyaBizyaev, kde-frameworks-devel, kde-buildsystem, LeGast00n, cblack, GB_2, bencreasy, michaelh, ngraham, bruns