summaryrefslogtreecommitdiffstats
path: root/Help/manual
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-05-13 12:54:01 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-05-13 12:54:08 (GMT)
commite00e67cb924495aab72bfc60dec0451a6566d8a2 (patch)
tree819b5e166e6ea748fea123af0075f40f9f1aa471 /Help/manual
parentef7c0cb8856ed5629301ad925685c4281bcb9098 (diff)
parentba969ce5fe3a363b52dd4f0290e4b827272101fb (diff)
downloadCMake-e00e67cb924495aab72bfc60dec0451a6566d8a2.zip
CMake-e00e67cb924495aab72bfc60dec0451a6566d8a2.tar.gz
CMake-e00e67cb924495aab72bfc60dec0451a6566d8a2.tar.bz2
Merge topic 'presets-pathListSep'
ba969ce5fe cmake-presets: add ${pathListSep} macro Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7234
Diffstat (limited to 'Help/manual')
-rw-r--r--Help/manual/cmake-presets.7.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/Help/manual/cmake-presets.7.rst b/Help/manual/cmake-presets.7.rst
index c8d24f2..948d87a 100644
--- a/Help/manual/cmake-presets.7.rst
+++ b/Help/manual/cmake-presets.7.rst
@@ -1068,6 +1068,17 @@ Recognized macros include:
A literal dollar sign (``$``).
+``${pathListSep}``
+
+ Native character for separating lists of paths, such as ``:`` or ``;``.
+
+ For example, by setting ``PATH`` to
+ ``/path/to/ninja/bin${pathListSep}$env{PATH}``, ``${pathListSep}`` will
+ expand to the underlying operating system's character used for
+ concatenation in ``PATH``.
+
+ This is allowed in preset files specifying version ``5`` or above.
+
``$env{<variable-name>}``
Environment variable with name ``<variable-name>``. The variable name may