Re: [cmake-developers] [CMake 0015749]: Make the URL option of ExternalProject_Add to accept lists

2016-07-13 Thread Brad King
On 07/13/2016 05:35 AM, Schmertmann, Lars wrote: > Thanks for the hint. I've merged to `next` for testing: ExternalProject: Add support for multiple alternative URLs https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2eec433f >>> I think for a mix of pathes/URLs we need to move a lot of code

Re: [cmake-developers] [CMake 0015749]: Make the URL option of ExternalProject_Add to accept lists

2016-07-13 Thread Schmertmann, Lars
Thanks for the hint. I removed the ^ to replace all occurrences and not only the first one. ExternalProject.cmake, Line 1670: string(REGEX REPLACE "^file://" "" url "${url}") Lars S. Am 13.07.2016 um 11:14 schrieb David Cole: > Looks like you could also use a list of paths if you express

Re: [cmake-developers] [CMake 0015749]: Make the URL option of ExternalProject_Add to accept lists

2016-07-13 Thread David Cole via cmake-developers
Looks like you could also use a list of paths if you express them in "file://..." form. Local files can also be expressed as URLs. David C. On Wed, Jul 13, 2016 at 4:18 AM, Schmertmann, Lars wrote: > Hello there, > > I try to continue the work from André. >

[cmake-developers] [CMake 0015749]: Make the URL option of ExternalProject_Add to accept lists

2016-07-13 Thread Schmertmann, Lars
Hello there, I try to continue the work from André. With the attached patch it is possible to use a list of URLs but it is still limited to a single path. I think for a mix of pathes/URLs we need to move a lot of code from ExternalProject.cmake into ExternalProject-download.cmake. Maybe it is

[cmake-developers] [CMake 0015749]: Make the URL option of ExternalProject_Add to accept lists

2015-09-16 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=15749 == Reported By:Ilya Assigned To: