diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2021-03-10 21:46:20 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2021-03-15 18:41:42 (GMT) |
commit | 0d497e159b5854ed050d9eb8c4e965976a03de11 (patch) | |
tree | ea194808ab962ed15d8329ab527d6e2c5472fc7c /Help | |
parent | 79d03ab5055da1397c525c31d8cb13c30965a911 (diff) | |
download | CMake-0d497e159b5854ed050d9eb8c4e965976a03de11.zip CMake-0d497e159b5854ed050d9eb8c4e965976a03de11.tar.gz CMake-0d497e159b5854ed050d9eb8c4e965976a03de11.tar.bz2 |
CMakePresets.json: Add ${hostSystemName} macro
Diffstat (limited to 'Help')
-rw-r--r-- | Help/manual/cmake-presets.7.rst | 6 | ||||
-rw-r--r-- | Help/release/dev/cmake-presets-host-system-name.rst | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/Help/manual/cmake-presets.7.rst b/Help/manual/cmake-presets.7.rst index 60d0473..5273236 100644 --- a/Help/manual/cmake-presets.7.rst +++ b/Help/manual/cmake-presets.7.rst @@ -830,6 +830,12 @@ Recognized macros include: test presets, this will evaluate to the generator specified by ``configurePreset``. +``${hostSystemName}`` + + The name of the host operating system. Contains the same value as + :variable:`CMAKE_HOST_SYSTEM_NAME`. This is allowed in preset files + specifying version ``3`` or above. + ``${dollar}`` A literal dollar sign (``$``). diff --git a/Help/release/dev/cmake-presets-host-system-name.rst b/Help/release/dev/cmake-presets-host-system-name.rst new file mode 100644 index 0000000..8036939 --- /dev/null +++ b/Help/release/dev/cmake-presets-host-system-name.rst @@ -0,0 +1,5 @@ +cmake-presets-host-system-name +------------------------------ + +* :manual:`cmake-presets(7)` gained support for a new ``${hostSystemName}`` + macro. |