[docs] Document VERSION (#27178)

* [docs] Document

* Update docs/maintainers/vcpkg_common_definitions.md

Co-authored-by: Victor Romero <romerosanchezv@gmail.com>

Co-authored-by: Billy O'Neal <bion@microsoft.com>
Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
This commit is contained in:
autoantwort 2022-10-14 05:19:01 +02:00 committed by GitHub
parent 929fc61671
commit 962dc0cb62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,6 +5,8 @@ The latest version of this document lives in the [vcpkg repo](https://github.com
This file defines the following variables which are commonly needed or used in portfiles:
```cmake
PORT The name of the port that is currently being built
VERSION The version of the port that is currently being built
VCPKG_TARGET_IS_<target> with <target> being one of the following: WINDOWS, UWP, MINGW, LINUX, OSX, ANDROID, FREEBSD, OPENBSD, EMSCRIPTEN. only defined if <target>
VCPKG_HOST_IS_<host> with <host> being one of the following: WINDOWS, LINUX, OSX, FREEBSD, OPENBSD. only defined if <host>
VCPKG_HOST_PATH_SEPARATOR Host specific path separator (USAGE: "<something>${VCPKG_HOST_PATH_SEPARATOR}<something>"; only use and pass variables with VCPKG_HOST_PATH_SEPARATOR within "")