[cmake-developers] [CMake 0016082]: Support alternative download URL in ExternalProject_Add

A. Klitzing aklitzing at gmail.com
Fri Apr 29 15:40:46 EDT 2016


Hi Brad,

thanks for your advice!
I APPEND the log of every failed download and print that only if no
URL works now. So we reserve the detailed error log of a single
download attempt.

Best regards
   André



2016-04-29 19:45 GMT+02:00 Brad King <brad.king at kitware.com>:
> On 04/28/2016 03:13 PM, A. Klitzing wrote:
>> -  message(FATAL_ERROR \"error: downloading '${remote}' failed
>> +  message(WARNING \"downloading '\${url}' failed
>
> Thanks for working on this!  Please revise the logic to collect
> the list of failed URLs in a list and report an error listing
> all URLs only after they all fail.  Otherwise once the source
> moves all future builds will get warnings even though they
> succeed on one of the alternatives.
>
> Thanks,
> -Brad
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-support-for-multiple-alternative-URLs.patch
Type: text/x-patch
Size: 2236 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20160429/ca207e83/attachment.bin>


More information about the cmake-developers mailing list