summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-07-17 13:47:23 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-07-17 13:47:30 (GMT)
commitb3cd795e653624d25f80c832475253aece145e91 (patch)
tree21ac5a89b64602e5d1e39969c00ea34f0ccb453b /Help
parent046c63e376d1d541c595f6b511ed451b2f9d9ed5 (diff)
parent68cd5281e4c5ea638e3853124c6b5c663de7878b (diff)
downloadCMake-b3cd795e653624d25f80c832475253aece145e91.zip
CMake-b3cd795e653624d25f80c832475253aece145e91.tar.gz
CMake-b3cd795e653624d25f80c832475253aece145e91.tar.bz2
Merge topic 'wasi'
68cd5281e4 WASI: Add platform modules Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9659
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/cmake-variables.7.rst1
-rw-r--r--Help/variable/CMAKE_SYSTEM_NAME.rst1
-rw-r--r--Help/variable/WASI.rst7
3 files changed, 9 insertions, 0 deletions
diff --git a/Help/manual/cmake-variables.7.rst b/Help/manual/cmake-variables.7.rst
index 315c73d..51458fb 100644
--- a/Help/manual/cmake-variables.7.rst
+++ b/Help/manual/cmake-variables.7.rst
@@ -346,6 +346,7 @@ Variables that Describe the System
/variable/MSVC_VERSION
/variable/MSYS
/variable/UNIX
+ /variable/WASI
/variable/WIN32
/variable/WINCE
/variable/WINDOWS_PHONE
diff --git a/Help/variable/CMAKE_SYSTEM_NAME.rst b/Help/variable/CMAKE_SYSTEM_NAME.rst
index e9ffec4..681ee03 100644
--- a/Help/variable/CMAKE_SYSTEM_NAME.rst
+++ b/Help/variable/CMAKE_SYSTEM_NAME.rst
@@ -85,6 +85,7 @@ Value Name
``UNIX_SV`` SCO UnixWare (pre release 7)
``UnixWare`` SCO UnixWare 7
``visionOS`` Apple mixed reality operating system
+``WASI`` WebAssembly System Interface
``watchOS`` Apple watch operating system
``Windows`` Windows stationary operating systems
``WindowsCE`` Windows Embedded Compact
diff --git a/Help/variable/WASI.rst b/Help/variable/WASI.rst
new file mode 100644
index 0000000..eacfc3f
--- /dev/null
+++ b/Help/variable/WASI.rst
@@ -0,0 +1,7 @@
+WASI
+----
+
+.. versionadded:: 3.31
+
+Set to ``1`` when the target system is WebAssembly System Interface
+(:variable:`CMAKE_SYSTEM_NAME` is ``WASI``).