"dependencies": [ {"name":"vcpkg-cmake-config","host":true} ] 此外,更正目标常见问题,例如绝对路径和错误放置的二进制文件。 对于许多端口,vcpkg_cmake_config_fixup()本身应正常工作,因为PACKAGE_NAME默认为${PORT}且CONFIG_PATH默认为share/${PACKAGE_NAME}。 对于传递给find_package的包名称与端口名不...
[cmake] ...\vcpkg-registry\ports/PROJECT/0.6.26.1\portfile.cmake: warning: Found 5 post-build check problem(s). These are usually caused by bugs in portfile.cmake or the upstream build system. Please correct these before submitting this port to the curated registry. To fix it, I need...
vcpkg_fixup_cmake_targets應該取代為vcpkg_cmake_config_fixup 某些取代協助程式函式位於「工具埠」中,可讓取用者在特定版本釘選其行為,以允許鎖定特定版本的協助程序行為。 工具埠必須新增至您埠的"dependencies",如下所示: JSON {"name":"vcpkg-cmake","host":true}, {"name":"vcpkg-cmake-config","...
Building vcpkg-cmake-config[core]:x64-windows...-- Installing: E:/Manifest/vcpkg/packages/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_cmake_config_fixup.cmake-- Installing: E:/Manifest/vcpkg/packages/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg-port-con...
Building vcpkg-cmake-config[core]:x64-windows...-- Installing: F:/vcpkg/packages/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_cmake_config_fixup.cmake-- Installing: F:/vcpkg/packages/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg-port-config.cmake-- Ins...
vcpkg_cmake_install() vcpkg_cmake_config_fixup(PACKAGE_NAME "Microsoft-UI-UIAutomation") file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) configure_file("${CMAKE_CURRENT...
vcpkg_fixup_cmake_targets用于安装 cmake 搜索文件, config_path 是*config.cmake文件的所在目录,默认会被复制到TARGET_PATH <share/${PORT}>] file(REMOVE_RECURSE) 用于删除 空目录,和冲突的目录,例如debug/include 配置好之后 直接vcpkg install cutlass即可。
# 这步很重要,它会将项目原本的cmake target重新定位到 # ${VCPKG_ROOT}/installed/x64-linux/share下,TARGET_PATH也可不设置,因为默认值就是`/share/${PORT}`: vcpkg_fixup_cmake_targets( CONFIG_PATH lib/cmake/${PORT} TARGET_PATH /share/${PORT}) ...
Fix paths with single quotes in bootstrap. (#36115) 12个月前 bootstrap-vcpkg.sh [vcpkg] Update to CMake 3.14.0 6年前 shell.nix [vcpkg] Nix-shell package pkgconfig reanamed to pkg-config (#42002) 1个月前 Loading... 🌐 Read in a different language ...
1. CMakefile.txt调整 2. test.in.cmake文件编写 二、编写 vcpkg port 1. portfile.cmake文件编写 2. 编写 vcpkg.json文件 三、关于测试 VCPKG官方的文档写得很模糊,资料也比较少,这里我分享一下具体相关的理解,首先第一步,我们需要写好一个库。这里我相信众多大佬们可以在很短的时间内就完成。就把库叫做...