Vcpkg: [vcpkg] option to rebuild dependency

Created on 14 Mar 2018  路  2Comments  路  Source: microsoft/vcpkg

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.

documentation

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 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.

All 2 comments

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 :)

Was this page helpful?
0 / 5 - 0 ratings