When this boolean property is enabled,
CMake will generate more per-config targets. Thus, the dependency graph will be more accurate for multi-configuration generators and some recompilations will be avoided.
Since Qt 6.8, this property is enabled by default. For older versions, you need to enable it manually to use it. However, qt_extract_metatypes and qt_add_qml_module were updated to support
AUTOGEN_BETTER_GRAPH_MULTI_CONFIG in Qt 6.8, so you will get build errors, unless you patch the older Qt version to support it.
See AUTOGEN_BETTER_GRAPH_MULTI_CONFIG for more information.
© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.