GitXplorerGitXplorer
j

vcpkg-demo

public
0 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
3674f1e64ee8be6c8eda0dbe3a6188f0e5637866

update instructions

jjgbradley1 committed 4 years ago
Unverified
a2083996de1345839115db8813dede5515056634

first test with sqlite3 and opencv

jjgbradley1 committed 4 years ago
Verified
3b96398b209fadd7f6cd97a36ca14f61676a7217

Initial commit

jjgbradley1 committed 4 years ago

README

The README file for this repository.

vcpkg-demo

A small sample project demoing the use of vcpkg

Quickstart

Download and build vcpkg

git clone git@github.com:microsoft/vcpkg.git
./vcpkg/bootstrap-vcpkg.sh --disableMetrics   # builds vcpkg with no telemetry

The vcpkg executable will be located at the root of the repo (i.e. <vcpkg_repository>/vcpkg)

Build this sample project

git clone git@github.com:jgbradley1/vcpkg-demo.git
cd vcpkg-demo
cmake -DCMAKE_TOOLCHAIN_FILE=<vcpkg_repository>/scripts/buildsystems/vcpkg.cmake -S . -B build
cmake --build build

Notes

Several 3rd party libraries will be declared in the vcpkg.json manifest file to demo the varios ways a library can be added/configured for a project.

TODO: add a custom library configuration example (e.g. building OpenCV with certain options disabled)