이 페이지에서

vcpkg 매니페스트 파일 편집

vcpkg.json 파일을 열면 매니페스트 파일 편집기에서 열립니다:

매니페스트 파일 편집기의 vcpkg.json 파일

관리할 패키지 추가

프로젝트에 패키지를 추가하려면 다음과 같이 하세요:

  1. 매니페스트 편집기 도구 모음에서 vcpkg 패키지 추가 (Add vcpkg Package)를 선택합니다.

    vcpkg 패키지 추가 대화 상자

  2. 프로젝트에 추가할 패키지를 선택합니다.
  3. OK 을 선택하여 편집기로 돌아갑니다.
  4. 패키지를 더 추가하려면 반복합니다.

CMake 구성 파일용 코드 생성

CMakeLists.txt 파일에 복사할 샘플 CMake 코드를 생성하려면 다음과 같이 하세요:

  1. 매니페스트 편집기 도구 모음에서 CMake 코드 (CMake Code)를 선택합니다.

    CMake 코드 대화 상자

  2. 필요한 예제 코드를 선택하고 CMakeLists.txt 파일에 복사하여 붙여넣습니다.

vcpkg 경로 설정

편집기 도구 모음에서 구성 (Configure)를 선택하여 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.