Re: [CMake] Feature request: expose curl to cmake -E

2015-12-19 Thread Greg Marr
iosif neitzke wrote: >On Fri, Dec 18, 2015 at 2:18 PM, Jakob van Bethlehem > wrote: >> Depending on what you precisely wish to achieve, maybe file(DOWNLOAD) >> already fits your needs? >> https://cmake.org/cmake/help/v3.1/command/file.html > >It does, generally, in the way that ExternalProject al

Re: [CMake] Feature request: expose curl to cmake -E

2015-12-19 Thread Jakob van Bethlehem
> > I thought 'curl' is sort of at the level of 'tar', in being a useful > tool that could be exposed fairly easily in a cmake portable command. Have you ever checked out the full man page of curl and the full feature list? (http://curl.haxx.se/docs/manpage.html) This is certainly not ‘easy’ to

Re: [CMake] Feature request: expose curl to cmake -E

2015-12-19 Thread iosif neitzke
Mostly yes. On Sat, Dec 19, 2015 at 8:45 AM, Greg Marr wrote: > iosif neitzke wrote: >>On Fri, Dec 18, 2015 at 2:18 PM, Jakob van Bethlehem >> wrote: >>> Depending on what you precisely wish to achieve, maybe file(DOWNLOAD) >>> already fits your needs? >>> https://cmake.org/cmake/help/v3.1/comm

Re: [CMake] Feature request: expose curl to cmake -E

2015-12-18 Thread iosif neitzke
On Fri, Dec 18, 2015 at 2:18 PM, Jakob van Bethlehem wrote: > Depending on what you precisely wish to achieve, maybe file(DOWNLOAD) already > fits your needs? > https://cmake.org/cmake/help/v3.1/command/file.html It does, generally, in the way that ExternalProject also fits, but I think would re

Re: [CMake] Feature request: expose curl to cmake -E

2015-12-18 Thread Jakob van Bethlehem
Depending on what you precisely wish to achieve, maybe file(DOWNLOAD) already fits your needs? https://cmake.org/cmake/help/v3.1/command/file.html Sincerely, Jakob van Bethlehem > On 18 Dec 2015, at 19:59, iosif neitzke wrote: > > It would be nice to have curl as a platform-independent command

[CMake] Feature request: expose curl to cmake -E

2015-12-18 Thread iosif neitzke
It would be nice to have curl as a platform-independent command like 'md5sum', 'tar', and 'compare_files'. -- 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.