On Mon, Sep 22, 2014 at 10:07 AM, Brad King <[email protected]> wrote:
> Perhaps: > > list(APPEND ExternalData_URL_TEMPLATES > "ExternalDataCustomScript://MyFetch/%(algo)/%(hash)" > ) > set(ExternalData_CUSTOM_SCRIPT_MyFetch /path/to/MyFetch.cmake) > > The script would be include()-ed in place of the current call > to _ExternalData_download_file with the part of the URL after > the "MyFetch/" already parsed into some variable(s). > This all sounds reasonable to me. I'd love to see this land in a future CMake release. I'm willing to help if you need a tester/reviewer.
-- 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-developers
