이 페이지에서

vcpkg 패키지 관리자 설정

실험 단계인 vcpkg 플러그인은 vcpkg C/C++ 패키지 관리자를 통합합니다. 이 플러그인은 지원되는 모든 개발 플랫폼에서 사용할 수 있습니다.

CMake를 빌드 시스템으로 사용할 때, 프로젝트의 일부로 빌드할 패키지를 지정하기 위해 ` vcpkg.json ` 파일을 생성하고 편집하십시오.

참고: Vcpkg 플러그인을 사용하려면활성화해야 합니다.

vcpkg 설정

명령줄에서 vcpkg를 설정하려면 다음을 입력하십시오:

$ git clone https://github.com/microsoft/vcpkg
$ cd vcpkg

$ ./bootstrap-vcpkg.sh

vcpkg 경로 설정

Path 를 vcpkg를 설치한 디렉터리로 설정하려면, ‘ Preferences ’ > ‘ CMake ’ > ‘ Vcpkg ’를 선택하십시오.

CMake 환경 설정의 Vcpkg 탭

아직 vcpkg를 설치하지 않았다면 ‘ URL ’를 선택하여 vcpkg를 다운로드하십시오.

자동 설정 비활성화

기본적으로 vcpkg는 CMake와 함께 사용하도록 자동으로 설정되어 있습니다. 자동 설정을 해제하려면 Preferences > CMake > General > Package manager auto setup 를 선택하십시오.

CMake 환경 설정의 ‘일반’ 탭

‘vcpkg 매니페스트 파일 생성’, ‘vcpkg 매니페스트 파일 편집’, ‘플러그인 활성화 및 비활성화’, ‘지원되는 플랫폼’ 및 ‘vcpkg’항목도 참조하십시오 .

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.