diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2020-10-16 19:31:01 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2020-10-22 15:09:28 (GMT) |
commit | 25742c589c80724b1d03357e0c911c443ab991f4 (patch) | |
tree | 7412e73ffa82a88e7beb9cc01fe7a638a5363444 /Help/manual | |
parent | 609122007dc074739b394d2f70f674bbccca6073 (diff) | |
download | CMake-25742c589c80724b1d03357e0c911c443ab991f4.zip CMake-25742c589c80724b1d03357e0c911c443ab991f4.tar.gz CMake-25742c589c80724b1d03357e0c911c443ab991f4.tar.bz2 |
CMakePresets.json: Add ${sourceDirName} macro
Fixes: #21312
Diffstat (limited to 'Help/manual')
-rw-r--r-- | Help/manual/cmake-presets.7.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/manual/cmake-presets.7.rst b/Help/manual/cmake-presets.7.rst index 7040ad5..68e6cb9 100644 --- a/Help/manual/cmake-presets.7.rst +++ b/Help/manual/cmake-presets.7.rst @@ -308,6 +308,11 @@ Format Path to the project source directory's parent directory. + ``${sourceDirName}`` + + The last filename component of ``${sourceDir}``. For example, if + ``${sourceDir}`` is ``/path/to/source``, this would be ``source``. + ``${presetName}`` Name specified in the preset's ``name`` field. |