Additional packages (*) will be installed to complete this operation. 查看已安装的三方库 命令vcpkg list可以查询已有的三方库: > vcpkg list boost:x86-windows 1.64-3 Peer-reviewed portable C++ source libraries bzip2:x86-windows 1.0.6-1 High-quality data compressor. ...
运行安装命令时,vcpkg 会首先搜索此处。 installed -包含每个已安装库的标头和库文件。与 Visual Studio 集成时,实质上是相当于告知它将此文件夹添加到其搜索路径。 packages - 在不同的安装之间用于暂存的内部文件夹。 ports -用于描述每个库的目录、版本和下载位置的文件。如有需要,可添加自己的端口。 scripts -...
vcpkg search [pat] Searchforpackages available to be built vcpkg install <pkg>... Install a package vcpkg remove <pkg>... Uninstall a package vcpkg remove --outdated Uninstall all out-of-date packages vcpkg list List installed packages vcpkg update Display list of packagesforupdating vcpkg upgr...
jsoncpp[core]:x86-windows Starting package 1/1: jsoncpp:x86-windows Building package jsoncpp[core]:x86-windows... -- CURRENT_INSTALLED_DIR=H:/Repos/vcpkg/installed/x86-windows -- DOWNLOADS=H:/Repos/vcpkg/downloads -- CURRENT_PACKAGES_DIR=H:/Repos/vcpkg/packages/jsoncpp_x86-windows -- CURRE...
vcpkg list 列出已安装包 List installed packages vcpkg update 列出需要升级的包 Display list of packagesforupdating vcpkg hash <file> [alg] 对文件进行Hash(默认是SHA512) Hash a file by specific algorithm, default SHA512 vcpkg integrate install Make installed packages available user-wide. Requires adm...
For example, how can I list available GDAL library versions ? They are not listed on VCPKG packages website neither by vcpkg search gdalcommand. vcpkg Share Improve this question Follow asked Jun 17, 2021 at 15:35 Kiruahxh 1,8412020 silver badges4242 bronze badges Add a comment 2 An...
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include"):从调试安装中删除 include 目录以防止重叠。 file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION ...):将 LICENSE 文件安装到包的共享目录,并将其重命名为版权。 configure_file("${CMAKE_CURRENT_LIST_DIR}/usage" ...):将使用说明文件复制...
Install any packages with PS> .\vcpkg install sdl2 curl Linux:~/$ ./vcpkg install sdl2 curl 百度AI C++ 版本的 SDK 代码中主要使用了依赖库 curl (需要支持 ssl) openssl jsoncpp ( >1.6.2 版本,0.x 版本将不被支持)。因此直接使用 Vcpkg 来安装这些依赖库。
.\vcpkg.exelist 可以看到你已经安装过的包了 vcpkg integrate install//全局安装vcpkglist//显示所有已安装vcpkg search//查看支持的第三方库vcpkg install jsoncpp:x86-windows//安装 jsoncpp 第三方库 x86vcpkg install @dep.txt//安装文件文本,里面每一行就是一个项目名!vcpkg remove jsoncpp//移除jsoncppvcpkg....
set(CMAKE_DISABLE_FIND_PACKAGE_ZLIB ON) set(CMAKE_REQUIRE_FIND_PACKAGE_ZLIB OFF) if ("zlib" IN_LIST FEATURES) set(CMAKE_DISABLE_FIND_PACKAGE_ZLIB OFF) set(CMAKE_REQUIRE_FIND_PACKAGE_ZLIB ON) endif() vcpkg_cmake_configure( SOURCE_PATH ${SOURCE_PATH} OPTIONS -DCMAKE_DISABLE_FIND_PACKA...