[CMake] ExternalProject feature regenerating the configure script

Bill Hoffman bill.hoffman at kitware.com
Wed Jul 31 09:43:23 EDT 2013


On 7/30/2013 6:44 PM, Ashok Nalkund wrote:
>
> I've got everything to work by specifying a DOWNLOAD_COMMAND in
> ExternalProject_Add. I had to use ' cp -r --preserve=timestamps...' to
> get it to work. The cp command was not preserving the timestamp and we
> know the ExternalProject is dependent on timestamps.
>
> I'll work on the proper fix in the ExternalProject module and report back.
>
> Thanks for all the tips/help,
Sounds like the real fix is to add a --preserve=timestamps to the cmake 
-E copy command.


-Bill



More information about the CMake mailing list