Skip to content

Commit

Permalink
[docs] Document VERSION (microsoft#27178)
Browse files Browse the repository at this point in the history
* [docs] Document

* Update docs/maintainers/vcpkg_common_definitions.md

Co-authored-by: Victor Romero <[email protected]>

Co-authored-by: Billy O'Neal <[email protected]>
Co-authored-by: Victor Romero <[email protected]>
  • Loading branch information
3 people authored Oct 14, 2022
1 parent 929fc61 commit 962dc0c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/maintainers/vcpkg_common_definitions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 "")
Expand Down

0 comments on commit 962dc0c

Please sign in to comment.