You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Automatically generated from tests/vcpkg/cmake.toml - DO NOT EDIT
3
+
layout: default
4
+
title: Dependencies from vcpkg
5
+
permalink: /examples/vcpkg
6
+
parent: Examples
7
+
nav_order: 4
8
+
---
9
+
10
+
# Dependencies from vcpkg
11
+
12
+
Downloads [fmt v7.1.3](https://fmt.dev/7.1.3/) using [vcpkg](https://vcpkg.io/) and links an `example` target to it:
13
+
14
+
```toml
15
+
[project]
16
+
name = "vcpkg"
17
+
description = "Dependencies from vcpkg"
18
+
19
+
# See https://github.com/microsoft/vcpkg/releases for vcpkg versions
20
+
# See https://vcpkg.io/en/packages.html for available packages
21
+
[vcpkg]
22
+
version = "2021.05.12"
23
+
packages = ["fmt"]
24
+
25
+
[find-package]
26
+
fmt = {}
27
+
28
+
[target.example]
29
+
type = "executable"
30
+
sources = ["src/main.cpp"]
31
+
link-libraries = ["fmt::fmt"]
32
+
```
33
+
34
+
The bootstrapping of vcpkg is fully automated and no user interaction is necessary. You can disable vcpkg by setting `CMKR_DISABLE_VCPKG=ON`.
35
+
36
+
<sup><sub>This page was automatically generated from [tests/vcpkg/cmake.toml](https://github.com/build-cpp/cmkr/tree/main/tests/vcpkg/cmake.toml).</sub></sup>
0 commit comments