CMakePresets.json: Add ${hostSystemName} macro

This commit is contained in:
Kyle Edwards
2021-03-10 16:46:20 -05:00
parent 79d03ab505
commit 0d497e159b
9 changed files with 58 additions and 1 deletions
+6
View File
@@ -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.