summaryrefslogtreecommitdiffstats
path: root/Help/manual
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-03-08 21:02:46 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-03-08 21:03:15 (GMT)
commit28f8b5cb0ce5bc65827fa4920b5579969d39498e (patch)
tree64faf5d2d53ec8d26e011ff7d5c8753d79630617 /Help/manual
parent9a179f219c880cc672b8fa8e61cada3b58976389 (diff)
parentf54507c2f6826e9b2b021dbf3b3fa75dcdce22fe (diff)
downloadCMake-28f8b5cb0ce5bc65827fa4920b5579969d39498e.zip
CMake-28f8b5cb0ce5bc65827fa4920b5579969d39498e.tar.gz
CMake-28f8b5cb0ce5bc65827fa4920b5579969d39498e.tar.bz2
Merge topic 'cmake-presets-file-dir'
f54507c2f6 CMakePresets.json: Add ${fileDir} macro Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: Gerhard Olsson <gerhard.nospam@gmail.com> Merge-request: !7051
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 (``$``).