[CMake] Naive (stupid?) question

Alexander Neundorf a.neundorf-work at gmx.net
Thu Feb 17 12:08:27 EST 2011


On Thursday 17 February 2011, Carminati Federico wrote:
> Thanks John,
>   Indeed there is one and this is certainly part of the problem. We also
> found out that using "configure_file" to copy files can generate large
> rebuild of the entire makefile structure. We will have to look into this.

configure_file() updates the written file only if the content actually 
changed.
So if the content of the configured file did not change, no recompile will 
happen due to it.
If you have something like a timestamp in it, it would change everytime.

Alex


More information about the CMake mailing list