From 79e5b3c46ab0fbca16b0ce9ede6fbec9bdeb2814 Mon Sep 17 00:00:00 2001 From: Kyle Edwards Date: Tue, 4 Feb 2020 14:21:25 -0500 Subject: Help: Explain new behavior of cmake --build in Ninja Multi-Config --- Help/generator/Ninja Multi-Config.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Help/generator/Ninja Multi-Config.rst b/Help/generator/Ninja Multi-Config.rst index 31e8ea9..030142f 100644 --- a/Help/generator/Ninja Multi-Config.rst +++ b/Help/generator/Ninja Multi-Config.rst @@ -15,6 +15,11 @@ configurations (with ```` being the configuration name.) No ``build.ninja`` file is generated by default (see below for how to generate it.) +``cmake --build . --config `` will always use ``build-.ninja`` +to build. If no ``--config`` argument is specified, ``cmake --build .`` will +default to ``build-Debug.ninja``, unless a ``build.ninja`` is generated (see +below), in which case that will be used instead. + Each ``build-.ninja`` file contains ```` targets as well as ``:`` targets, where ```` is the same as the configuration specified in ``build-.ninja`` Additionally, if -- cgit v0.12