CMake 프로젝트 내용 보기
프로젝트 보기는 프로젝트의 빌드 시스템 구조를 트리로 시각화하고 프로젝트의 일부인 모든 파일을 나열합니다. Qt Creator 프로젝트에서 CMakeLists.txt 구성 파일을 편집하면 자동으로 CMake를 실행하여 보기의 프로젝트 정보를 새로 고칩니다. 또한 프로젝트를 빌드할 때 프로젝트 정보를 새로 고칩니다.

이 동작을 비활성화하려면 환경설정 > CMake > General 으로 이동하여 Autorun CMake 을 선택 취소하세요.

CMake 프로젝트 다시 구성
Qt Creator 에서 CMake 프로젝트를 로드할 수 없는 경우 Projects 보기에 <File System> 프로젝트 노드가 표시되어 파일 시스템 검색을 피하고 프로젝트를 더 빠르게 로드할 수 있습니다. 이 노드에는 파일 시스템 보기와 동일한 파일이 표시됩니다.
프로젝트를 다시 구성하려면
- Build 로 이동하여 Clear CMake Configuration 을 선택합니다.
- Build 로 이동하여 Run CMake 을 선택합니다.
프로젝트 보기에서 하위 폴더 이름 숨기기
Projects 보기에는 소스 파일이 있는 하위 폴더의 이름이 표시됩니다. 하위 폴더 이름을 숨기고 소스 그룹에 따라서만 파일을 정렬하려면 환경설정 > CMake > General 을 선택한 다음 Show subfolders inside source group folders 확인란의 선택을 취소합니다. 변경 사항은 Build 로 이동하여 Run CMake 을 선택한 후에 적용됩니다.
방법: CMake로 빌드하기, CMake, 프로젝트 열기, 파일 시스템 및 프로젝트도참조하세요 .
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.