aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authornicole mazzuca <mazzucan@outlook.com>2021-02-15 12:26:56 -0800
committerGitHub <noreply@github.com>2021-02-15 12:26:56 -0800
commit6166e754fc5ea77805914afb9273eaff3e5136f1 (patch)
treef5aa3212a4e7c202e8872fa5663ba28b2d10ca49 /docs
parent17c3670b069e57723deddc1645bda547bb77bad5 (diff)
downloadvcpkg-6166e754fc5ea77805914afb9273eaff3e5136f1.tar.gz
vcpkg-6166e754fc5ea77805914afb9273eaff3e5136f1.zip
[scripts-audit] vcpkg_buildpath_length_warning (#16191)
Diffstat (limited to 'docs')
-rw-r--r--docs/maintainers/vcpkg_buildpath_length_warning.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/maintainers/vcpkg_buildpath_length_warning.md b/docs/maintainers/vcpkg_buildpath_length_warning.md
index 77c1776b2..fdc7adeda 100644
--- a/docs/maintainers/vcpkg_buildpath_length_warning.md
+++ b/docs/maintainers/vcpkg_buildpath_length_warning.md
@@ -2,10 +2,13 @@
Warns the user if their vcpkg installation path might be too long for the package they're installing.
-## Usage
```cmake
-vcpkg_buildpath_length_warning(13)
+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)