자료
[Library] vcpkg
KuroNeko_
2017. 7. 26. 02:40
반응형
vcpkg 설치
소스코드 가져오기
C:\>git clone https://github.com/Microsoft/vcpkg.git c:\work.vcpkg Cloning into 'c:\work.vcpkg'... ...
빌드
C:\work.vcpkg>c:\work.vcpkg\bootstrap-vcpkg.bat Microsoft (R) Build Engine version 14.0.25420.1 ...
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>
패키지 설치
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