이 페이지에서

CMake Qt 벤더 프리셋

CMakePresets.jsonCMakeUserPresets.jsonvendor 섹션에서 Qt Creator 환경설정을 지정합니다.

CMake 구성 프리셋

다음 표에는 사용 가능한 프리셋이 요약되어 있습니다.

프리셋설명자세히 보기
AutorunCMake프로젝트에서 CMakeLists.txt 구성 파일을 편집할 때 CMake를 실행하여 프로젝트 정보를 새로 고칩니다. 또한 프로젝트를 빌드할 때 프로젝트 정보를 새로 고칩니다.CMake 프로젝트 내용 보기
AskBeforePresetsReloadBuild 로 이동하여 Reload CMake Presets 을 선택하면 동작하기 전에 묻습니다.CMake 프리셋
AskReConfigureInitialParamsRe-configure with Initial Variables 을 선택하면 동작하기 전에 묻습니다.초기 변수로 재구성하기
PackageManagerAutoSetupCMake와 함께 사용할 Conan 또는 vcpkg 패키지 매니저를 설정합니다.패키지 관리자와 함께 CMake 사용
ShowAdvancedOptionsByDefaultInitial ConfigurationCurrent Configuration 에서 기본적으로 모든 CMake 변수를 표시합니다.고급 변수 보기
ShowSourceSubfolders하위 폴더 이름을 숨기고 Projects 보기에서 소스 그룹에 따라 파일을 정렬합니다.프로젝트 보기에서 하위 폴더 이름 숨기기
UseJunctionsForSourceAndBuildDirectoriesWindows에서 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디버거 엔진 유형:
  • GDB의 경우 1
  • CDB의 경우 4
  • PDB의 경우 8
  • LLDB의 경우 256
  • GDB DAP의 경우 512
  • LLDB DAP용 1024
  • 4096(uVision 디버거용)
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.