aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/maintainers/control-files.md2
-rw-r--r--docs/users/triplets.md3
2 files changed, 4 insertions, 1 deletions
diff --git a/docs/maintainers/control-files.md b/docs/maintainers/control-files.md
index 87468e6af..ea44c2b8a 100644
--- a/docs/maintainers/control-files.md
+++ b/docs/maintainers/control-files.md
@@ -138,6 +138,8 @@ The predefined expressions are computed from standard triplet settings:
- `osx` - `VCPKG_CMAKE_SYSTEM_NAME` == `"Darwin"`
- `android` - `VCPKG_CMAKE_SYSTEM_NAME` == `"Android"`
- `static` - `VCPKG_LIBRARY_LINKAGE` == `"static"`
+- `wasm32` - `VCPKG_TARGET_ARCHITECTURE` == `"wasm32"`
+- `emscripten` - `VCPKG_CMAKE_SYSTEM_NAME` == `"Emscripten"`
These predefined expressions can be overridden in the triplet file via the [`VCPKG_DEP_INFO_OVERRIDE_VARS`](../users/triplets.md) option.
diff --git a/docs/users/triplets.md b/docs/users/triplets.md
index aafae0920..9aa500d76 100644
--- a/docs/users/triplets.md
+++ b/docs/users/triplets.md
@@ -29,7 +29,7 @@ Community Triplets are enabled by default, when using a community triplet a mess
### VCPKG_TARGET_ARCHITECTURE
Specifies the target machine architecture.
-Valid options are `x86`, `x64`, `arm`, and `arm64`.
+Valid options are `x86`, `x64`, `arm`, `arm64` and `wasm32`.
### VCPKG_CRT_LINKAGE
Specifies the desired CRT linkage (for MSVC).
@@ -49,6 +49,7 @@ Valid options include any CMake system name, such as:
- `WindowsStore` (Universal Windows Platform)
- `Darwin` (Mac OSX)
- `Linux` (Linux)
+- `Emscripten` (WebAssembly)
### VCPKG_CMAKE_SYSTEM_VERSION
Specifies the target platform system version.