Doc: Describe using CMake presets for configuring and building

Update screenshots.

Task-number: QTCREATORBUG-27876
Change-Id: I62135a0254b730b2cbbad65f5bac7b1594ee454e
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
Leena Miettinen
2022-10-14 16:24:44 +02:00
parent 8aaf60218c
commit 31e24208b5
3 changed files with 13 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View File

@@ -47,6 +47,19 @@
Select \uicontrol {Kit Configuration} to edit the CMake settings for the
build and run kit selected for the project.
\section CMake Presets
You can use CMake presets files to specify common configure, build, and test
options and share them with others. \c CMakePresets.json contains options for
project-wide builds, whereas \c CMakeUserPresets.json contains options for
your local builds.
Create the presets files in the format described in
\l{https://cmake.org/cmake/help/latest/manual/cmake-presets.7.html}
{cmake-presets(7)} and store the in project's root directory.
To use the preset files, specify the \c {--preset} option for your project.
\section1 Multi-Config Support
\QC supports