[cmake-developers] [CMake] Integrating ExternalData with Artifactory
Taylor Braun-Jones
taylor at braun-jones.org
Mon Sep 22 10:28:29 EDT 2014
On Mon, Sep 22, 2014 at 10:07 AM, Brad King <brad.king at kitware.com> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20140922/5012d026/attachment-0002.html>
More information about the cmake-developers
mailing list