Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
cmake-standard-properties.qdoc
Go to the documentation of this file.
1// Copyright (C) 2023 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
3
4/*!
5\page cmake-standard-property-autogen-better-graph-multi-config.html
6\ingroup cmake-standard-properties
7
8\title AUTOGEN_BETTER_GRAPH_MULTI_CONFIG
9
10\brief Improves the dependency graph for multi-configuration generators when you
11set it on a target.
12
13When this boolean property is enabled, \c{CMake} will generate more per-config targets.
14Thus, the dependency graph will be more accurate for multi-configuration
15generators and some recompilations will be avoided.
16
17Since Qt 6.8, this property is enabled by default. For older versions,
18you need to enable it manually to use it.
19However, \l{qt_extract_metatypes} and \l{qt_add_qml_module} were updated to
20support \c{AUTOGEN_BETTER_GRAPH_MULTI_CONFIG} in Qt 6.8, so you will get build
21errors, unless you patch the older Qt version to support it.
22
23See \l{https://cmake.org/cmake/help/latest/prop_tgt/AUTOGEN_BETTER_GRAPH_MULTI_CONFIG.html}{AUTOGEN_BETTER_GRAPH_MULTI_CONFIG} for more information.
24*/