AUTOGEN_BETTER_GRAPH_MULTI_CONFIG
이 부울 속성이 활성화되면, ` CMake `는 구성별 타깃을 더 많이 생성합니다. 따라서 다중 구성 생성기에 대해 의존성 그래프의 정확도가 향상되며, 일부 재컴파일을 방지할 수 있습니다.
Qt 6.8부터는 이 속성이 기본적으로 활성화되어 있습니다. 이전 버전의 경우, 이 기능을 사용하려면 수동으로 활성화해야 합니다. 그러나 Qt 6.8에서는 qt_extract_metatypes 및 qt_add_qml_module이 AUTOGEN_BETTER_GRAPH_MULTI_CONFIG 을 지원하도록 업데이트되었으므로, 이전 버전의 Qt에 이 기능을 지원하도록 패치를 적용하지 않는 한 빌드 오류가 발생합니다.
이 속성을 전역적으로 설정하려면 다음 명령을 사용하십시오:
set(CMAKE_AUTOGEN_BETTER_GRAPH_MULTI_CONFIG ON)또는 타깃에서 설정하려면:
set_target_properties(app PROPERTIES AUTOGEN_BETTER_GRAPH_MULTI_CONFIG ON)자세한 내용은 AUTOGEN_BETTER_GRAPH_MULTI_CONFIG를 참조하십시오.
© 2026 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.