[Library] vcpkg

자료 2017. 7. 26. 02:40
반응형

vcpkg 설치

  1. 소스코드 가져오기

     C:\>git clone https://github.com/Microsoft/vcpkg.git c:\work.vcpkg
     Cloning into 'c:\work.vcpkg'...
     ...
    
  2. 빌드

     C:\work.vcpkg>c:\work.vcpkg\bootstrap-vcpkg.bat
     Microsoft (R) Build Engine version 14.0.25420.1
     ...
    
  3. Visual Studio 연동

     C:\work.vcpkg>vcpkg integrate install
     Applied user-wide integration for this vcpkg root.
    
     All MSBuild C++ projects can now #include any installed libraries.
     Linking will be handled automatically.
     Installing new libraries will make them instantly available.
    
     CMake projects should use -DCMAKE_TOOLCHAIN_FILE=C:/work.vcpkg/scripts/buildsystems/vcpkg.cmake
    
     C:\work.vcpkg>
    
  4. 패키지 설치

     C:\work.vcpkg>vcpkg install boost:x86-windows boost:x86-windows-static boost:x64-windows boost:x64-windows-static
     C:\work.vcpkg>vcpkg install curl:x86-windows curl:x86-windows-static curl:x64-windows curl:x64-windows-static
     C:\work.vcpkg>vcpkg install sqlite3:x86-windows sqlite3:x86-windows-static sqlite3:x64-windows sqlite3:x64-windows-static
     C:\work.vcpkg>vcpkg install jsoncpp:x86-windows jsoncpp:x86-windows-static jsoncpp:x64-windows jsoncpp:x64-windows-static
     C:\work.vcpkg>vcpkg install gtest:x86-windows gtest:x86-windows-static gtest:x64-windows gtest:x64-windows-static


'자료' 카테고리의 다른 글

[C++] Python format 구현  (0) 2017.12.03
[Ubuntu] upgrade시 용량부족으로 인한 문제 해결  (0) 2017.10.12
Windbg 명령어  (0) 2017.01.31
[펌] 동적 메모리 관리  (0) 2016.12.26
[Heap] how2heap (shellpish)  (0) 2016.12.25
블로그 이미지

KuroNeko_

KuroNeko

,