CMake Qt 벤더 프리셋
CMakePresets.json 및 CMakeUserPresets.json 의 vendor 섹션에서 Qt Creator 환경설정을 지정합니다.
CMake 구성 프리셋
다음 표에는 사용 가능한 프리셋이 요약되어 있습니다.
| 프리셋 | 설명 | 자세히 보기 |
|---|---|---|
AutorunCMake | 프로젝트에서 CMakeLists.txt 구성 파일을 편집할 때 CMake를 실행하여 프로젝트 정보를 새로 고칩니다. 또한 프로젝트를 빌드할 때 프로젝트 정보를 새로 고칩니다. | CMake 프로젝트 내용 보기 |
AskBeforePresetsReload | Build 로 이동하여 Reload CMake Presets 을 선택하면 동작하기 전에 묻습니다. | CMake 프리셋 |
AskReConfigureInitialParams | Re-configure with Initial Variables 을 선택하면 동작하기 전에 묻습니다. | 초기 변수로 재구성하기 |
PackageManagerAutoSetup | CMake와 함께 사용할 Conan 또는 vcpkg 패키지 매니저를 설정합니다. | 패키지 관리자와 함께 CMake 사용 |
ShowAdvancedOptionsByDefault | Initial Configuration 와 Current Configuration 에서 기본적으로 모든 CMake 변수를 표시합니다. | 고급 변수 보기 |
ShowSourceSubfolders | 하위 폴더 이름을 숨기고 Projects 보기에서 소스 그룹에 따라 파일을 정렬합니다. | 프로젝트 보기에서 하위 폴더 이름 숨기기 |
UseJunctionsForSourceAndBuildDirectories | Windows에서 CMake 구성, 빌드 및 설치 작업에 정션 포인트를 사용합니다. | Windows에서 정션 포인트 사용 |
CMake 구성 프리셋의 예입니다:
"vendor": {
"qt.io/QtCreator/1.0": {
"AskBeforePresetsReload": false,
"AskReConfigureInitialParams": false,
"AutorunCMake": false,
"PackageManagerAutoSetup": false,
"ShowAdvancedOptionsByDefault": true,
"ShowSourceSubFolders": false,
"UseJunctionsForSourceAndBuildDirectories": true
}
}디버거 프리셋
다음 표에는 사용 가능한 프리셋이 요약되어 있습니다.
디버거 기본 설정에 대한 자세한 내용은 디버거 추가하기를 참조하세요.
| 프리셋 | 설명 |
|---|---|
Abis | 쉼표로 구분된 시스템 아키텍처 정의 목록입니다. |
Binary | 디버거 실행 파일의 경로입니다. 절대 경로, auto 값 또는 ABI일 수 있습니다. Qt Creator 에서 바이너리 경로를 모르는 경우 MSVC 툴체인에 적합한 디버거를 찾습니다. |
DisplayName | 디버거의 이름입니다. |
EngineType | 디버거 엔진 유형:
|
Version | 디버거의 버전 번호입니다. |
Qt Creator 디버거 프리셋의 예입니다:
"vendor": {
"qt.io/QtCreator/1.0": {
"debugger": {
"DisplayName": "GNU gdb 11.2.0 for MinGW 11.2.0 64-bit",
"Abis": ["x86-windows-msys-pe-64bit"],
"Binary": "C:/Qt/Tools/mingw1120_64/bin/gdb.exe",
"EngineType": 1,
"Version": "11.2.0"
}
}
}CMake 빌드 구성, CMake, CMake 프리셋 및 SDK 툴도참조하세요 .
Copyright © The Qt Company Ltd. and other contributors. 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.