I am new to vcpkg and currently facing an issue when building a project that requires to be build as x86 & x64. Maybe I am just missing something or haven't understood how it is intended to work: The issue is that building the project fails for x86 after having it build once for x86 followed by x64.
We have the vcpkg.json
and the vcpkg-configuration.json
in the project root and use this settings in Visual Studio:
The problem can be reproduced as follows:
When first building the project from Visual Studio as Win32
, vcpkg builds the x86 dependency libraries. The build succeeds.
Now the vcpkg installed
directory looks like this:
Building the x64 version afterwards also succeeds but deletes the x86-windows
folder in the installed
directory.
Subsequent builds of the x86 version are then failing (deleting the .msbuildstamp-x86-windows.stamp
makes it "work" again as the dependencies are then build again).
I wouldn't have expected this behavior, especially not because the .msbuildstamp-x86-windows.stamp
is not deleted.
Thanks for your help.