Comments (2)
You could read the explanation on a following paragraph: use-vcpkg-as-a-submodule-of-your-git-repository.
Just a recap:
-
When you use
vcpkg
you need to ensure you use exactly the expected version established by the consumer (i.e. a Git repo); -
The version is determined by the commit id/tag in the
vcpkg
's Git repository; -
One good approach is to store the commit id in the repo that consumes
vcpkg
using a Git submodule;
When vcpkg
is listed as a dependency and the exact version is not stated, this is potentially leading to unexpected results. For example, you would get different results when building with vcpkg
that contains randomLibraryNameVersion1
vs vcpkg
that contains randomLibraryNameVersion2
.
Do not hesitate to provide feedback or a PR in order to make docs more clear and exhaustive.
from cppbuildtasks.
That addresses my question. Thanks.
Since lazy me had not read the README beyond the Quickstart, I did not find that section.
I have just submitted a tiny PR #25 which should help reader to find the important section.
from cppbuildtasks.
Related Issues (20)
- Cache vcpkg packages HOT 4
- Allow mutliple triplets for install command HOT 3
- run-cmake should use the value of inheritEnvironments provided in CMakeSettings.json
- when run-vcpkg sets default triplet (e.g. VCPKG_TRIPLET env var), that should be re-used by run-cmake task HOT 1
- Caching fails when not using vcpkg as a submodule HOT 4
- Should run-vcpgk offer an explicit --clean-after-build option? HOT 2
- Build only debug by Visual Studio generator in CMakeSettings HOT 3
- task-vcpkg does not correctly detect need to bootstrap when vcpkg.exe is present HOT 1
- Enable setupOnly mode like the GitHub action. HOT 1
- running ctests HOT 1
- vcpkg workflow depicts not-existent 'save/restore cache actions'
- How to pass arguments to cmake generator HOT 1
- Action could not be found HOT 2
- Leverage the NPM packages published from repository https://github.com/lukka/run-cmake-vcpkg-action-libs
- trouble running vcpkg on osx agents in azure pipelines HOT 1
- CppBuildTask on Azure DevOps Server HOT 1
- Manifest mode
- Invalid generator for VS2019 x64 HOT 2
- runcmake fails when CMakeSettings.json has UTF8 BOM
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cppbuildtasks.