[CMake] CONFIGURE_FILE won't overwrite existing file?

David Cole david.cole at kitware.com
Fri Aug 10 14:49:53 EDT 2007


Yes it does... It's a "copy if different" operation.

On 8/10/07, Christian Convey <christian.convey at gmail.com> wrote:
> 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?
>
> - Chrsitian
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>


More information about the CMake mailing list