1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 19:08:07 +08:00

Help: Clarify role of binaryDir inheritance in cmake-presets(7)

Suggested-by: Michael Hirsch
This commit is contained in:
Brad King
2021-02-18 10:58:32 -05:00
parent 0e3c361f77
commit 47ab2d4d2e

View File

@@ -377,8 +377,9 @@ that may contain the following fields:
An optional string specifying the name of a configure preset to
associate with this build preset. If ``configurePreset`` is not
specified, it must be inherited from the inherits preset (unless this
preset is hidden). The build tree directory is inferred from the
configure preset.
preset is hidden). The build directory is inferred from the configure
preset, so the build will take place in the same ``binaryDir`` that the
configuration did.
``inheritConfigureEnvironment``
@@ -495,8 +496,9 @@ that may contain the following fields:
An optional string specifying the name of a configure preset to
associate with this test preset. If ``configurePreset`` is not
specified, it must be inherited from the inherits preset (unless this
preset is hidden). The build tree directory is inferred from the
configure preset.
preset is hidden). The build directory is inferred from the configure
preset, so tests will run in the same ``binaryDir`` that the
configuration did and build did.
``inheritConfigureEnvironment``