make install

Brad King brad.king at kitware.com
Fri Oct 5 20:28:18 CEST 2007


David Faure wrote:
> On Tuesday 02 October 2007, Brad King wrote:
>> There is alot of discussion in that bug report.
>>
>> The comparison of files is not for speed on installation...it's for not 
>> changing timestamps of already installed files and causing all *other* 
>> code using the installed files to rebuild, which is potentially even 
>> slower.
> 
> Yes. The real solution is a dependency from the installed file to the file-to-install, so
> that the file-to-install isn't installed if it isn't newer than the already-installed file.
> And then, when that is implemented, thre is no need for comparing files in order
> to avoid changing timestamps, since you get for free by not installing the file at all :)

This has now been implemented in CMake HEAD:

http://www.cmake.org/Bug/view.php?id=3349

Repeat installations are now lightning fast.

-Brad


More information about the Kde-buildsystem mailing list