aboutsummaryrefslogtreecommitdiff
path: root/docs/maintainers/vcpkg_buildpath_length_warning.md
blob: fdc7adedae2629c533d53f64c4d147451fe35685 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# vcpkg_buildpath_length_warning

Warns the user if their vcpkg installation path might be too long for the package they're installing.

```cmake
vcpkg_buildpath_length_warning(<N>)
```

`vcpkg_buildpath_length_warning` warns the user if the number of bytes in the
path to `buildtrees` is bigger than `N`. Note that this is simply a warning,
and isn't relied on for correctness.

## Source
[scripts/cmake/vcpkg_buildpath_length_warning.cmake](https://github.com/Microsoft/vcpkg/blob/master/scripts/cmake/vcpkg_buildpath_length_warning.cmake)