mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 20:00:51 -05:00
CMakePresets.json: Add ${hostSystemName} macro
This commit is contained in:
@@ -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 (``$``).
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
cmake-presets-host-system-name
|
||||
------------------------------
|
||||
|
||||
* :manual:`cmake-presets(7)` gained support for a new ``${hostSystemName}``
|
||||
macro.
|
||||
Reference in New Issue
Block a user