When asking a question please also include where you looked for an answer (so we can update the documentation if needed).
Just looked at the options in vcpckg.exe... I have no idea how to proceed, and I am in a hurry - please help
for instance, I have installed sqlite_orm via vcpkg. I suspect the master branch has been installed. Now I want to install the dev branch, how do I do that?
vcpkg normally only has a master branch. Every once in a while there may be other branches where microsoft employees are testing something, but normally there are no other branches.
If you wish to experiment or test, you can do a pull request aka PR and make a fork of vcpkg to your github account - then you can change away, create new branches etc.
If your testing fixes something, adds a new port or new features to a port you can request it be merged back into the vcpkg master after it meets all reviews, disclaimers, standards, etc, etc, etc...
Hope that helps.
ok.. but how can I recreate the binaries after I change the source files? there is no VC solution or projects...
how can I convert a CMakeList project to a solution in VC?
The scope of your question would be to long to explain here. I would suggest reading the docs to start learning the how the package operates and how you wish to use it in your development processes -
https://vcpkg.readthedocs.io/en/latest/ --or--
https://github.com/microsoft/vcpkg/blob/master/docs/index.md
You may wish to read about the workings of git https://git-scm.com/doc -and- cmake https://cmake.org/
vcpkg port libraries and binaries are mostly consumed by your own Visual Studio (via integrate install or integrate project) or cmake (via toolchain(s) projects).
@juandent, does this still be a problem for you?
I think @juandent is asking how to change the branch of sqlite-orm port. Not related to vcpkg pull request.
In ports/sqlite-orm/portfile.cmake,
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO fnc12/sqlite_orm
REF b30ddc6a50dc582c93cd49d8d0cf8f5025ba1d2b # 1.5
SHA512 faeeef88aef11e89e9565850c23087925fb4d75ef48a16434055f18831db8e230d044c81574d840dacca406d7095cb83a113afc326996e289ab11a02d8caa2f4
HEAD_REF master
PATCHES
fix-includes-not-found.patch
disable-examples.patch
)
Change REF, HEAD_REF and SHA512
HEAD_REF is your desired branch
REF is your desired commit
SHA512 is SHA-512 hash of the tar file downloaded from github
@juandent, see above suggestions from linquize.
Most helpful comment
I think @juandent is asking how to change the branch of
sqlite-ormport. Not related to vcpkg pull request.In
ports/sqlite-orm/portfile.cmake,Change
REF,HEAD_REFandSHA512HEAD_REFis your desired branchREFis your desired commitSHA512is SHA-512 hash of the tar file downloaded from github