D28444: WIP/RFC: Add ECMCargo module

Carson Black noreply at phabricator.kde.org
Tue Mar 31 17:21:12 BST 2020


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20200331/e65ac3cb/attachment.html>


More information about the Kde-buildsystem mailing list