I want to fix a package that is a dependency of another-one.
To test the build, I need to remove it and install it back again.
Since the package I'm working on is a dependency, I need to remove all the packages in the dependency tree.
This is best handled by simply having a second copy of vcpkg! Each instance of vcpkg is completely independent, so you can work on a port in one without disturbing your other "main" one until everything is ready :)
There is also an undocumented vcpkg build command that can be used to only perform a build of a library -- note that this command has a bunch of rough edges, so the above is a better solution if possible.
Ok this is what I already did :)
Most helpful comment
This is best handled by simply having a second copy of vcpkg! Each instance of vcpkg is completely independent, so you can work on a port in one without disturbing your other "main" one until everything is ready :)
There is also an undocumented
vcpkg buildcommand that can be used to only perform a build of a library -- note that this command has a bunch of rough edges, so the above is a better solution if possible.