Replies: 3 comments
-
@Milerius I believe |
Beta Was this translation helpful? Give feedback.
-
Yes but this need to be added by the https://github.com/microsoft/vcpkg/blob/master/scripts/buildsystems/vcpkg.cmake#L372 |
Beta Was this translation helpful? Give feedback.
-
Yeah, probably the cmake build should pass that |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
Some IDEs like CLion launch CMake in parallel with different configurations: Debug, Release, RelWithDebugInfo etc.
With the recent addition of manifests this adds a huge user experience problem.
Imagine the following
vcpkg.json
manifest:And the fact that i'm using vcpkg as a submodule of my repository
When CLion generates CMake at the same time, two instances of vcpkg install will conflict:
This is a problem because it ruins the user experience, impossible to have a release and debug configuration at the same time in the same workspace
Proposed solution
If an instance of vcpkg install is already in progress, wait until the end of it or perform the default behavior (your packages are probably already installed by the first configuration in use)
Describe alternatives you've considered
conan has a nice approach to this, with a
--remove_locks
option, can be a good inspirationAdditional context
There is my configuration before calling
project()
cc @ras0219-msft @Neumann-A
Beta Was this translation helpful? Give feedback.
All reactions