AUTOGEN_BETTER_GRAPH_MULTI_CONFIG
이 부울 속성을 활성화하면 CMake
구성별 타깃을 더 많이 생성합니다. 따라서 다중 구성 생성기에 대한 종속성 그래프가 더 정확해지고 일부 재컴파일을 피할 수 있습니다.
Qt 6.8부터 이 속성은 기본적으로 활성화되어 있습니다. 이전 버전에서는 수동으로 활성화해야 사용할 수 있습니다. 그러나 qt_extract_metatypes와 qt_add_qml_module은 Qt 6.8에서 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를 참조하세요.
© 2025 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.