Link Search Menu Expand Document

Dependencies from vcpkg

Downloads fmt v7.1.3 using vcpkg and links an example target to it:

name = "vcpkg"
description = "Dependencies from vcpkg"

# See for vcpkg versions
# See for available packages
version = "2022.11.14"
packages = ["fmt"]

fmt = {}

type = "executable"
sources = ["src/main.cpp"]
link-libraries = ["fmt::fmt"]

The bootstrapping of vcpkg is fully automated and no user interaction is necessary. You can disable vcpkg by setting CMKR_DISABLE_VCPKG=ON.

To specify package features you can use the following syntax: imgui[docking-experimental,freetype,sdl2-binding,opengl3-binding].

This page was automatically generated from tests/vcpkg/cmake.toml.