use network drive with X_VCPKG_ASSET_SOURCES without mapping it as a drive #29361
Unanswered
AbdulAbCellera
asked this question in
Q&A
Replies: 2 comments 2 replies
-
|
Please fill an issue instead of this. |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
Hi, just had this problem simply because I didn't know how the file:// protocol works. To access network drives from root, the correct syntax is |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a network-shared folder with FQDN myfs.hi.com/projs. I dont want to mount it, and I want to use it as the asset source. My issue is that I could not figure out the syntax for that.
mounted worked
set(ENV{X_VCPKG_ASSET_SOURCES} "x-azurl,file:///Z:/asset/,,readwrite")regular dir worked
set(ENV{X_VCPKG_ASSET_SOURCES} "x-azurl,file:///$ENV{USERPROFILE}/asset/,,readwrite")fails
set(ENV{X_VCPKG_ASSET_SOURCES} "x-azurl,file:///myfs.hi.com/projs/asset/,,readwrite")set(ENV{X_VCPKG_ASSET_SOURCES} "x-azurl,file:///\\\\myfs.hi.com/projs/asset/,,readwrite")set(ENV{X_VCPKG_ASSET_SOURCES} "x-azurl,file://///myfs.hi.com/projs/asset/,,readwrite")I use the drive for binary caching and it works (notice the slashes)
set(VCPKG_DEFAULT_BINARY_CACHE "files,\\\\myfs.hi.com\projs\asset,readwrite")I see this error
Beta Was this translation helpful? Give feedback.
All reactions