Replies: 4 comments
-
Looking further, I realise that about 100 of our projects do not use the props file above, which commands the use of custom triplet. This means that when we started using vcpkg, 100 projects gained a link to Is this possible? |
Beta Was this translation helpful? Give feedback.
-
AFAIK, the scripts\buildsystems\msbuild\applocal.ps1 helps install dependent dlls to your project, so it executes in each proejct. For setting VcpkgEnabled, please refer to #16165 (comment). |
Beta Was this translation helpful? Give feedback.
-
Hi @PhoebeHui thanks for the link - but while there's interesting discussion there I don't see a clear and definitive answer how I can change the default for Since we have a solution-level .props I simply want to have vcpkg off unless my props file turns it on. |
Beta Was this translation helpful? Give feedback.
-
@jdx-john, sorry for late response! You can set VcpkgEnabled to false in https://github.com/microsoft/vcpkg/blob/master/scripts/buildsystems/msbuild/vcpkg.props#L18 by default, then every new msbuild project would not use vcpkg by default. Or you can set 'use vcpkg' to 'No' in your specific project property, but that only works in that project. |
Beta Was this translation helpful? Give feedback.
-
We've noticed in our build logs seemingly for every project in our large solution, the following (I obfuscated actual project name and path):
I have a few questions:
Beta Was this translation helpful? Give feedback.
All reactions