Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions vcpkg/users/triplets.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,16 @@ tracked as part of the package abis.
This will cause [Binary Caching](binarycaching.md) to reuse builds from older or
newer compilers.

### VCPKG_ENVIRONMENT_SETUP_SCRIPTS

A list of scripts to execute before vcpkg starts building. The scripts must be runable on the given platform.
If the script is a cmake script, cmake will be called to execute the script.
This can be used to prepare the environment before vcpkg runs any other steps, like e.g. compiler detection.
If the scripts are meant to participate in the abi hash use `VCPKG_HASH_ADDITIONAL_FILES` to declare them as ABI relevant.

> [!NOTE]
> Environment variables cannot be set in CMake scripts since CMake will run in its own process

## Windows-specific Variables

### VCPKG_ENV_PASSTHROUGH
Expand Down