summaryrefslogtreecommitdiffstats
path: root/Help/manual
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2022-03-07 22:48:18 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2022-03-07 23:03:16 (GMT)
commitf54507c2f6826e9b2b021dbf3b3fa75dcdce22fe (patch)
tree017a3aebc0cb87ac32482c0f8c0cff70928baa75 /Help/manual
parent7a8536e0eab97d5467dbcca9b14f1a9deaf934ae (diff)
downloadCMake-f54507c2f6826e9b2b021dbf3b3fa75dcdce22fe.zip
CMake-f54507c2f6826e9b2b021dbf3b3fa75dcdce22fe.tar.gz
CMake-f54507c2f6826e9b2b021dbf3b3fa75dcdce22fe.tar.bz2
CMakePresets.json: Add ${fileDir} macro
Fixes: #23214
Diffstat (limited to 'Help/manual')
-rw-r--r--Help/manual/cmake-presets.7.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/manual/cmake-presets.7.rst b/Help/manual/cmake-presets.7.rst
index 4620984..03bb5aa 100644
--- a/Help/manual/cmake-presets.7.rst
+++ b/Help/manual/cmake-presets.7.rst
@@ -1053,6 +1053,11 @@ Recognized macros include:
:variable:`CMAKE_HOST_SYSTEM_NAME`. This is allowed in preset files
specifying version ``3`` or above.
+``${fileDir}``
+
+ Path to the directory containing the preset file which contains the macro.
+ This is allowed in preset files specifying version ``4`` or above.
+
``${dollar}``
A literal dollar sign (``$``).