[CMake] CONFIGURE_FILE won't overwrite existing file?

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Fri Aug 10 14:51:40 EDT 2007


Christian Convey schrieb:
> It looks to me like CONFIGURE_FILE is a no-op when the target file
> already exists *and* has the exact same content that it would have if
> CONFIGURE_FILE ran.
> 
> I'm basing me belief by looking running some experiments and looking
> at timestamps.
> 
> But this isn't mentioned in the online docs for CONFIGURE_FILE.
> 
> Does anyone know if it works the way I describe?
> 
That's correct - otherwise all your sources (which includes the config 
file) would get recompiled after each cmake run.

Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://public.kitware.com/pipermail/cmake/attachments/20070810/d399ba51/signature.pgp


More information about the CMake mailing list