[CMake] ExternalProject feature regenerating the configure script
Ashok Nalkund
ashoknn at qti.qualcomm.com
Tue Jul 30 18:44:46 EDT 2013
On 7/30/2013 12:37 PM, Ashok Nalkund wrote:
> On 7/30/2013 8:36 AM, David Cole wrote:
>> > The never-ending debate about fixes versus workarounds starts up
>> > again. :-)
>> > ...
>>
>> > ... for everybody in the future who
>> > would otherwise be tripping over this issue. So I hope he goes for
>> > the fix rather than the workaround, but that is obviously up to him.
>> Sure. I’m not going to debate that. A fix of the timestamp issue is
>> obviously the right way to go here for the benefit of all.
>> I was just pointing out there are other alternatives the original
>> poster can use to make it work immediately with nearly zero effort.
>> The timestamp issue should be fixed. But so should the 1,000 other
>> open bugs against CMake.
>> D
>
> Thanks guys for the suggestions. Unfortunately I cant use a tarball,
> we need the sources to be expanded in the tree for various reasons.
> I'm going to try to fix the bug and make it available. If that doesnt
> work out, I'll try to substitute the download command for an explicit
> cp command and see if that works.
>
> thanks again,
> ashok
>
> --
>
> Powered by www.kitware.com
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Kitware offers various services to support the CMake community. For
> more information on each offering, please visit:
>
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
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,
ashok
More information about the CMake
mailing list