From 47ab2d4d2ec282aee655ebc3e6079e6c5bb29427 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 18 Feb 2021 10:58:32 -0500 Subject: Help: Clarify role of binaryDir inheritance in cmake-presets(7) Suggested-by: Michael Hirsch --- Help/manual/cmake-presets.7.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Help/manual/cmake-presets.7.rst b/Help/manual/cmake-presets.7.rst index fb4babe..e3815b6 100644 --- a/Help/manual/cmake-presets.7.rst +++ b/Help/manual/cmake-presets.7.rst @@ -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`` -- cgit v0.12