[CMake] ExternalData on unmounted Windows shares?
Brad King
brad.king at kitware.com
Tue Nov 12 11:09:05 EST 2013
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:/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).
-Brad
More information about the CMake
mailing list