Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.26 KB

setup-vcpkg.md

File metadata and controls

39 lines (25 loc) · 1.26 KB
  1. Clone the repository

    The first step is to clone the vcpkg repository from GitHub. The repository contains scripts to acquire the vcpkg executable and a registry of curated open-source libraries maintained by the vcpkg community. To do this, run:

    git clone https://github.com/microsoft/vcpkg.git

    The vcpkg curated registry is a set of over 2,000 open-source libraries. These libraries have been validated by vcpkg's continuous integration pipelines to work together. While the vcpkg repository does not contain the source code for these libraries, it holds recipes and metadata to build and install them in your system.

  2. Run the bootstrap script

    Now that you have cloned the vcpkg repository, navigate to the vcpkg directory and execute the bootstrap script:

    ::: zone pivot="shell-cmd"

    cd vcpkg && bootstrap-vcpkg.bat

    ::: zone-end ::: zone pivot="shell-powershell"

    cd vcpkg; .\bootstrap-vcpkg.bat

    ::: zone-end ::: zone pivot="shell-bash"

    cd vcpkg && ./bootstrap-vcpkg.sh

    ::: zone-end

    The bootstrap script performs prerequisite checks and downloads the vcpkg executable.

    That's it! vcpkg is set up and ready to use.