On Tue, Nov 12, 2013 at 5:09 PM, Brad King <[email protected]> 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 to use in the project. Are there any known issues with hidden shares (name ending in $), or with paths containing spaces? The path that fails contains both :( > Since it is accessible through filesystem APIs you could also > set ExternalData_OBJECT_STORES to > > c:/some/local/store;//share.host/foo/bar > > That tells ExternalData to use objects found in the local store > or the network path directly without downloading. If an object > is not found in either path, then the url templates will be > searched for the object and it will be downloaded to the local > store (first entry in ExternalData_OBJECT_STORES). That's what I was testing and wrote about in another response on this thread: - It's not possible to set only ExternalData_OBJECT_STORES, one has to set ExternalData_URL_TEMPLATES too. - I'd like to not have to map the drive (other users of the project would then have to free up a specific drive letter) and ExternalData_OBJECT_STORES don't seem to handle paths of the form "//share.host/foo/bar". /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: [email protected] jabber: [email protected] twitter: magthe http://therning.org/magnus -- 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://www.cmake.org/mailman/listinfo/cmake
