diff options
author | Zoran Angelov <baldzar@gmail.com> | 2023-04-06 18:38:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-04-26 14:03:53 (GMT) |
commit | f552ba6e6d4571213afdc8afdd063637ac0cbee7 (patch) | |
tree | 7498447afb89df59d600eab0dff0b221bb210bd1 /Help | |
parent | 1df24df01f0053d07ac2083c4ea8fa915cbb5e65 (diff) | |
download | CMake-f552ba6e6d4571213afdc8afdd063637ac0cbee7.zip CMake-f552ba6e6d4571213afdc8afdd063637ac0cbee7.tar.gz CMake-f552ba6e6d4571213afdc8afdd063637ac0cbee7.tar.bz2 |
presets: add support for macro expansion to includes
Only `$penv{}` can be expanded when processing includes.
Diffstat (limited to 'Help')
-rw-r--r-- | Help/manual/cmake-presets.7.rst | 3 | ||||
-rw-r--r-- | Help/release/dev/preset-includes-macro-expansion.rst | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/Help/manual/cmake-presets.7.rst b/Help/manual/cmake-presets.7.rst index 7aea8e6..e2366da 100644 --- a/Help/manual/cmake-presets.7.rst +++ b/Help/manual/cmake-presets.7.rst @@ -133,6 +133,9 @@ Files directly or indirectly included from ``CMakePresets.json`` should be guaranteed to be provided by the project. ``CMakeUserPresets.json`` may include files from anywhere. +Starting from version ``7``, the ``include`` field supports +`macro expansion`_, but only ``$penv{}`` macro expansion. + Configure Preset ^^^^^^^^^^^^^^^^ diff --git a/Help/release/dev/preset-includes-macro-expansion.rst b/Help/release/dev/preset-includes-macro-expansion.rst new file mode 100644 index 0000000..e1f0030 --- /dev/null +++ b/Help/release/dev/preset-includes-macro-expansion.rst @@ -0,0 +1,7 @@ +preset-includes-macro-expansion +------------------------------- + +* :manual:`cmake-presets(7)` files now support schema version ``7``. + +* :manual:`cmake-presets(7)` now supports ``$penv{}`` macro expansion + in ``include`` fields. |