CMake 코드 완성

Qt Creator 일반적인 강조 표시 기능을 사용하여 CMake 명령어에 대한 코드 완성 전용 인수를 제공합니다. 예를 들어, `CMake: set_source_files_properties` 명령어의 경우 테스트 또는 타깃 속성이 아닌 소스 파일 속성만 제안됩니다.

다음과 같은 CMake 전용 트리거 토큰이 지원됩니다:

  • $ 변수의 경우
  • $< 생성자 표현식의 경우
  • $ENV 환경 변수의 경우

Tab 키나 Enter 키 를 눌러 선택한 제안 사항을 적용하고 코드를 완성하십시오.

참조: 방법: 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.