iosif neitzke wrote: >On Fri, Dec 18, 2015 at 2:18 PM, Jakob van Bethlehem ><jsvanbethle...@gmail.com> 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 require writing wrapper >scripts. My specific use case was something >like: > >cmake -E curl http://jenkins/buildA/artifacts/stuff.tar >cmake -E tar xzf stuff.tar >cmake -Hstuff/path/to/CMakeLists/ -Bbuild_dir cmake --build build_dir > >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. >Those portable commands are another thing that CMake offers that makes working >on Windows a little easier, if you don't already have Cygwin or the like.
curl is already portable. Are you just trying to avoid installing curl? -- 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://public.kitware.com/mailman/listinfo/cmake