-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keeping multiple triplets when use vcpkg install #16083
Comments
@strega-nil Can you please take a look? |
@autoantwort What we recommend here is to set the installed directory based upon the thing you're building for; in your settings, you should be able to set the installed directory to, for example, Unfortunately, it seems like we don't actually have that option in the vcpkg properties pane; I will open an issue for that, and it should be a pretty easy fix. |
Which settings? Do you mean the
Probably you only have to remove But imho this is not a very user friendly and intuitive solution. It would be more user friendly if you don't remove installed packages from other triplets. Then vcpkg just works out of the box. |
When I change <PropertyGroup Label="Vcpkg">
<VcpkgInstalledDir>$(VcpkgRoot)$(VcpkgPlatformTarget)_installed\</VcpkgInstalledDir>
</PropertyGroup> I used a property sheet, because I don't want to change that manuelly in over hundred projects ... |
Btw, if I change |
@autoantwort unfortunately, this isn't really a thing we can do? There's too much cross-talk, especially with #15424, to really support having two different triplets installed. |
Ok. My naive assumption was that you can simply ignore packages from other triplets in the implementation, but it seems to be more complicated. |
We hope your question was answered to your satisfaction; if it wasn't, you can reopen with more info. |
BTW this is now fixed in the latest master |
This would be great to have--using |
Describe the bug
We have a solution with multiple projects, some are x64 and some x86. We use a manifest file for the whole solution to specify the dependencies. The problem is, that when you build a x64 project, it removes the x86 versions of the dependencies and the other way around.
Environment
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Do not remove the installed versions of other triplets.
Additional context
Maybe the same as #12525, but we don't use cmake
The text was updated successfully, but these errors were encountered: