[CMake] ExternalData on unmounted Windows shares?

2013-11-12 Thread Magnus Therning
I'm trying to put some large-ish data files on a windows share and then reference them using the ExternalData module. I'm running into problems setting the ExternalData_URL_TEMPLATES properly. Neither "smb://share.host/foo/bar/%(algo)/%(hash)" nor "//share.host/foo/bar/%(algo)/%(hash)" work. For

Re: [CMake] ExternalData on unmounted Windows shares?

2013-11-12 Thread Jakub Zakrzewski
From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Magnus Therning Sent: Dienstag, 12. November 2013 14:43 To: Cmake Mailing List Subject: [CMake] ExternalData on unmounted Windows shares? I'm trying to put some large-ish data files on a windows share and then re

Re: [CMake] ExternalData on unmounted Windows shares?

2013-11-12 Thread Magnus Therning
On Tue, Nov 12, 2013 at 3:06 PM, Jakub Zakrzewski wrote: > Did you try: "\\share.host/foo/bar/%(algo)/%(hash)"? (probably you gonna need > proper escaping). > Note, that UNC paths begin with "\\" and in this case they cannot be > substitued with "//". Also - this is windows-only. This is all ra

Re: [CMake] ExternalData on unmounted Windows shares?

2013-11-12 Thread Brad King
On 11/12/2013 08:43 AM, Magnus Therning wrote: > Is there some way to point to an unmounted Windows share? Add to ExternalData_URL_TEMPLATES the entry file:share.host/foo/bar/%(algo)/%(hash) Since it is accessible through filesystem APIs you could also set ExternalData_OBJECT_STORES to c:

Re: [CMake] ExternalData on unmounted Windows shares?

2013-11-13 Thread Magnus Therning
On Tue, Nov 12, 2013 at 5:09 PM, Brad King wrote: > On 11/12/2013 08:43 AM, Magnus Therning wrote: >> Is there some way to point to an unmounted Windows share? > > Add to ExternalData_URL_TEMPLATES the entry > > file:share.host/foo/bar/%(algo)/%(hash) That still fails on the real path I have

Re: [CMake] ExternalData on unmounted Windows shares?

2013-11-13 Thread Brad King
On 11/13/2013 03:59 AM, Magnus Therning wrote: > On Tue, Nov 12, 2013 at 5:09 PM, Brad King wrote: >> Add to ExternalData_URL_TEMPLATES the entry >> >> file:share.host/foo/bar/%(algo)/%(hash) > > That still fails on the real path I have to use in the project. Are > there any known issues wi

Re: [CMake] ExternalData on unmounted Windows shares?

2013-11-15 Thread Magnus Therning
On Wed, Nov 13, 2013 at 10:26:53AM -0500, Brad King wrote: > On 11/13/2013 03:59 AM, Magnus Therning wrote: >> On Tue, Nov 12, 2013 at 5:09 PM, Brad King wrote: >>> Add to ExternalData_URL_TEMPLATES the entry >>> >>> file:share.host/foo/bar/%(algo)/%(hash) >> >> That still fails on the real

Re: [CMake] ExternalData on unmounted Windows shares?

2013-11-15 Thread Brad King
On 11/15/2013 04:17 PM, Magnus Therning wrote: > I just reproduced it locally. Here's what I did: I tested with a local share and corresponding url template: file:127.0.0.1/share$/%(algo)/%(hash) It downloads at build time successfully for me. > 4. Move the generated "SHA file" to C:\devo

Re: [CMake] ExternalData on unmounted Windows shares?

2013-11-15 Thread Magnus Therning
On Fri, Nov 15, 2013 at 04:45:23PM -0500, Brad King wrote: > On 11/15/2013 04:17 PM, Magnus Therning wrote: > > I just reproduced it locally. Here's what I did: > > I tested with a local share and corresponding url template: > > file:127.0.0.1/share$/%(algo)/%(hash) > > It downloads at bui

Re: [CMake] ExternalData on unmounted Windows shares?

2013-11-18 Thread Magnus Therning
It does indeed work properly, once one uses the correct path in all places. Sorry for the noise! /M On Fri, Nov 15, 2013 at 11:02 PM, Magnus Therning wrote: > On Fri, Nov 15, 2013 at 04:45:23PM -0500, Brad King wrote: >> On 11/15/2013 04:17 PM, Magnus Therning wrote: >> > I just reproduced it l

Re: [CMake] ExternalData on unmounted Windows shares?

2013-11-18 Thread Brad King
On 11/18/2013 08:01 AM, Magnus Therning wrote: > It does indeed work properly, once one uses the correct > path in all places. Great, thanks for reporting back! -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Ki