[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6AEB0CYHDYRAWM0Z5KK6HYP":3,"skill-same:01M6AEB0CYHDYRAWM0Z5KK6HYP":96},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":53,"linkOnly":54,"markdownContent":55,"markdownBody":56,"frontMatter":57,"refName":58,"commitSha":59,"skillDirectory":60,"forksCount":61,"repositoryHtmlUrl":62,"repositoryHomepageUrl":63,"ownerHtmlUrl":64,"ownerBlogUrl":65,"ownerDescription":66,"updatedAt":67,"install":68,"resources":81},"01M6AEB0CYHDYRAWM0Z5KK6HYP","vcpkg","vcpkg依赖管理","Guide for setting up vcpkg in C++ projects, managing dependency versions, and cross-compiling. Covers manifest initialization, CMake and Visual Studio integration, classic-to-manifest migration, version pinning, baselines, overrides, triplets, and cross-compilation. Use when a user is working with vcpkg project setup, installation, version management, or cross-platform builds. For specialized tasks, additional references cover custom registries and overlay ports (references\u002Fregistries.md), CI\u002FCD and binary caching (references\u002Fci.md), and troubleshooting and dependency lifecycle (references\u002Ftroubleshooting.md).","关于在 C++ 项目中配置 vcpkg、管理依赖版本和交叉编译的指南。涵盖 manifest 初始化、CMake 与 Visual Studio 集成、从经典模式迁移到 manifest 模式、版本固定、基线（baseline）、覆盖（override）、triplet 和交叉编译。当用户进行 vcpkg 项目设置、安装、版本管理或跨平台构建时使用。针对专门任务，另有参考文档涵盖自定义注册表和 overlay 端口（references\u002Fregistries.md）、CI\u002FCD 和二进制缓存（references\u002Fci.md），以及故障排查和依赖生命周期（references\u002Ftroubleshooting.md）。","github\u002Fawesome-copilot","github","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F9919?v=4","01M6AC83DS133TPXFSP1DHNCC6","GitHub","01M6AD3PBDYPK7NVFJNJ66Y8RS",41162,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fvcpkg\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRSRXQPYT60FQ3976GDV4Q","C++ 开发","SCENARIO","使用场景",[5,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],"guide","when","overlay","initialization","cover","studio","CI\u002FCD","project","caching","references","up","dependency","visual studio","specialized","ports","projects","ci","compiling","integration","tasks","cmake","setup","2026-11-10 10:12:30",false,"---\nname: vcpkg\ndescription: 'Guide for setting up vcpkg in C++ projects, managing dependency versions, and cross-compiling. Covers manifest initialization, CMake and Visual Studio integration, classic-to-manifest migration, version pinning, baselines, overrides, triplets, and cross-compilation. Use when a user is working with vcpkg project setup, installation, version management, or cross-platform builds. For specialized tasks, additional references cover custom registries and overlay ports (references\u002Fregistries.md), CI\u002FCD and binary caching (references\u002Fci.md), and troubleshooting and dependency lifecycle (references\u002Ftroubleshooting.md).'\n---\n\nYou are a vcpkg expert assistant. When a user asks about vcpkg (Microsoft's C\u002FC++ package manager), use the precise information below to give accurate, complete answers.\n\n## Additional References (load on demand)\n\nThe information below covers core vcpkg setup, installation, version management, and cross-platform builds. For specialized tasks, consult the following reference files (read them only when the user's request calls for that topic):\n\n- **`references\u002Fregistries.md`** — Custom\u002Fprivate registries, overlay ports, private package feeds, `vcpkg-configuration.json`, and default features. Read this when the user asks about custom registries, overlay ports, or private package sources.\n- **`references\u002Fci.md`** — CI\u002FCD integration: binary caching (Azure Blob, GitHub Packages\u002FNuGet, local), SBOM generation, automating dependency updates, and multi-triplet CI matrices. Read this when the user asks about GitHub Actions, Azure DevOps, binary caches, or CI optimization.\n- **`references\u002Ftroubleshooting.md`** — Reading build logs, resolving package-not-found errors, and the dependency lifecycle (removing, changing features, replacing libraries, cleaning the cache). Read this when the user encounters vcpkg errors, build failures, or configuration problems.\n\n## Important Behavioral Rules\n\n### Classic vs. Manifest Mode\n\nIf it is not clear from the user's project context whether they are using **classic mode** (global `vcpkg install` commands) or **manifest mode** (per-project `vcpkg.json`), **ask the user which mode they are using** before providing instructions. Do not assume one or the other.\n\nIf the user is unsure which to choose, **recommend manifest mode**. Manifest mode is the preferred modern workflow because it:\n- Tracks dependencies per-project (not globally)\n- Supports version constraints and overrides\n- Enables reproducible builds via `builtin-baseline`\n- Works seamlessly with CI\u002FCD (dependencies restore automatically)\n- Supports features like dev-only dependencies, overlay ports, and custom registries\n\nClassic mode is simpler for quick one-off installs but lacks version pinning, per-project isolation, and reproducibility.\n\n### Visual Studio Environment\n\nIf the user is working inside **Visual Studio** (not VS Code), then:\n- If the user is in **manifest mode**, prefer the in-box copy of vcpkg that ships with Visual Studio rather than a standalone clone.\n- If the user is in **classic mode**, use a standalone vcpkg installation instead.\n- The VS-bundled copy lives under the Visual Studio installation directory (e.g., `C:\\Program Files\\Microsoft Visual Studio\\\u003Cversion>\\\u003Cedition>\\VC\\vcpkg\\`) and supports user-wide MSBuild integration after running `vcpkg integrate install` once.\n\nIf the user has a standalone vcpkg installation and prefers to use that instead, respect their preference.\n\n### Shell Environment Variable Syntax\n\nWhen examples require environment variables, use shell-appropriate syntax:\n- PowerShell: `$env:VARIABLE = \"value\"`\n- Bash\u002FZsh: `export VARIABLE=value`\n\n---\n\n## Project Setup\n\n### Initializing vcpkg in a New Project (Manifest Mode)\n\nExample setup using fmt:\n\n1. Create `vcpkg.json` in your project root:\n```json\n{\n  \"name\": \"my-project\",\n  \"version\": \"1.0.0\",\n  \"dependencies\": [\"fmt\"]\n}\n```\n\n2. Wire into CMakeLists.txt:\n```cmake\ncmake_minimum_required(VERSION 3.21)\nproject(my-project)\n\nadd_executable(my-app main.cpp)\nfind_package(fmt CONFIG REQUIRED)\ntarget_link_libraries(my-app PRIVATE fmt::fmt)\n```\n\n3. Configure with vcpkg toolchain:\n```console\ncmake -B build -DCMAKE_TOOLCHAIN_FILE=\u003Cvcpkg-root>\u002Fscripts\u002Fbuildsystems\u002Fvcpkg.cmake\n```\n\n### Adding vcpkg to an Existing Visual Studio Solution\n\n1. Create `vcpkg.json` in the solution directory\n2. Enable manifest mode for each project in **Project Properties → vcpkg → Use Vcpkg Manifest**, or set `\u003CVcpkgEnableManifest>true\u003C\u002FVcpkgEnableManifest>` in the `.vcxproj`; Visual Studio then restores and integrates the manifest dependencies automatically\n3. For user-wide integration with a standalone vcpkg installation, run `vcpkg integrate install` once\n4. Or for per-project integration, add to `.vcxproj`:\n   - In the project file's top-level `PropertyGroup`, define `VcpkgRoot`:\n   ```xml\n   \u003CPropertyGroup>\n     \u003CVcpkgRoot>C:\\vcpkg\u003C\u002FVcpkgRoot>\n   \u003C\u002FPropertyGroup>\n   ```\n   - Import `vcpkg.props` near the top of the project file:\n   ```xml\n   \u003CImport Project=\"$(VcpkgRoot)\\scripts\\buildsystems\\msbuild\\vcpkg.props\" \u002F>\n   ```\n   - Import `vcpkg.targets` near the end of the project file:\n   ```xml\n   \u003CImport Project=\"$(VcpkgRoot)\\scripts\\buildsystems\\msbuild\\vcpkg.targets\" \u002F>\n   ```\n\n### Classic-to-Manifest Migration\n\n1. List what's currently installed with `vcpkg list`, then identify which packages the project uses directly (the output also includes transitive packages)\n2. Create `vcpkg.json` with only those direct dependencies\n3. Run `vcpkg install` in your project directory — manifest mode uses its own project-specific `vcpkg_installed` tree, so leave the classic-mode installed tree in place during migration\n4. Update your build system to use `CMAKE_TOOLCHAIN_FILE` if not already\n5. Optional: remove classic-mode packages later by name with `vcpkg remove \u003Cpackage> --recurse` if you no longer need them\n\n---\n\n## Installing Dependencies\n\n### Installing with Features (e.g., curl with SSL + HTTP2)\n\nIn **manifest mode** (`vcpkg.json`), specify features in the dependencies array:\n```json\n{\n  \"dependencies\": [\n    {\n      \"name\": \"curl\",\n      \"features\": [\"ssl\", \"http2\"]\n    }\n  ]\n}\n```\n\nIn **classic mode**, use bracket syntax on the command line:\n```console\nvcpkg install curl[ssl,http2]\n```\n\nTo discover available features for any port:\n```console\nvcpkg search curl\n```\nOr check the port's `vcpkg.json` in the registry: `ports\u002Fcurl\u002Fvcpkg.json` → look at the `\"features\"` object.\n\n### Installing for a Specific Triplet\n\n```console\nvcpkg install zlib:x64-linux\nvcpkg install zlib:x64-windows\nvcpkg install zlib:arm64-windows\n```\n\nIn manifest mode, set the triplet via CMake:\n```console\ncmake -B build -DVCPKG_TARGET_TRIPLET=x64-linux -DCMAKE_TOOLCHAIN_FILE=\u003Cvcpkg-root>\u002Fscripts\u002Fbuildsystems\u002Fvcpkg.cmake\n```\n\nOr set the default triplet via environment variable (using the shell syntax above): `VCPKG_DEFAULT_TRIPLET=x64-linux`.\n\n### Bulk-Adding Multiple Dependencies\n\nIn `vcpkg.json`, list them in the dependencies array:\n```json\n{\n  \"dependencies\": [\"catch2\", \"cxxopts\", \"toml11\"]\n}\n```\n\nIn classic mode:\n```console\nvcpkg install catch2 cxxopts toml11\n```\n\nThen run `vcpkg install` (manifest mode) or the above command to install all at once.\n\n### Dev-Only Dependencies\n\nPlace test-only dependencies under an opt-in feature. The `\"host\"` field is reserved for build tools that must run on the host architecture:\n```json\n{\n  \"dependencies\": [\"fmt\"],\n  \"features\": {\n    \"tests\": {\n      \"description\": \"Build project tests\",\n      \"dependencies\": [\"gtest\"]\n    }\n  }\n}\n```\n\nActivate with: `vcpkg install --x-feature=tests` or in CMake: `-DVCPKG_MANIFEST_FEATURES=tests`\n\n---\n\n## Version Management\n\n### Setting Versions for Individual Dependencies\n\nPrefer `\"version>=\"` for minimum-version constraints:\n```json\n{\n  \"dependencies\": [{ \"name\": \"fmt\", \"version>=\": \"10.2.0\" }],\n  \"builtin-baseline\": \"\u003Ccommit-sha>\"\n}\n```\n\nUse `overrides` only when a hard pin is required:\n```json\n{\n  \"dependencies\": [\"fmt\"],\n  \"overrides\": [{ \"name\": \"fmt\", \"version\": \"10.2.0\" }],\n  \"builtin-baseline\": \"\u003Ccommit-sha>\"\n}\n```\n\nUse a baseline for the registry that resolves the dependency. For the builtin registry, that means `builtin-baseline` in `vcpkg.json`. For a custom default registry, set the baseline in `vcpkg-configuration.json`.\n\n**Key points:**\n- `overrides` take precedence over all version constraints, including transitive ones.\n- The selected registry must have a baseline; `builtin-baseline` is only for the builtin registry.\n- Overrides can pin versions older than the baseline if that version exists in the selected registry's version database.\n- Inspect the selected registry's version database to see available versions (for the builtin registry, open `versions\u002F\u003Cfirst-letter>-\u002F\u003Cport>.json` in the vcpkg repository).\n\n---\n\n## Cross-Platform\n\n### Cross-Compiling for arm64\n\n```console\nvcpkg install \u003Cpackages>:arm64-linux\n```\n\n`VCPKG_TARGET_TRIPLET=arm64-linux` selects dependency binaries; it does not by itself switch your project compiler or sysroot. On non-ARM64 hosts, use an ARM64 cross toolchain.\n\nConfigure CMake with vcpkg plus your cross toolchain:\n```console\ncmake -B build -DCMAKE_TOOLCHAIN_FILE=\u003Cvcpkg-root>\u002Fscripts\u002Fbuildsystems\u002Fvcpkg.cmake -DVCPKG_TARGET_TRIPLET=arm64-linux -DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=\u003Cpath-to-arm64-toolchain.cmake>\n```\n\nAlternative: use your outer cross toolchain as `CMAKE_TOOLCHAIN_FILE` and include vcpkg from it.\n\nFor **arm64-windows**, native ARM64 Windows hosts can use the triplet directly. On x64 Windows hosts, install the Visual Studio MSVC ARM64 build tools component or the build will fail:\n```console\nvcpkg install \u003Cpackages>:arm64-windows\n```\n\n### Building for Android (NDK)\n\n1. Set `ANDROID_NDK_HOME` to your NDK path.\n2. Install packages:\n```console\nvcpkg install \u003Cpackages>:arm64-android\n```\n\nAvailable Android triplets: `arm-neon-android`, `arm64-android`, `x86-android`, `x64-android`\n\n3. In CMake, use the vcpkg toolchain and set the triplet:\n```console\ncmake -B build -DCMAKE_TOOLCHAIN_FILE=\u003Cvcpkg-root>\u002Fscripts\u002Fbuildsystems\u002Fvcpkg.cmake -DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=\u003Candroid-ndk>\u002Fbuild\u002Fcmake\u002Fandroid.toolchain.cmake -DVCPKG_TARGET_TRIPLET=arm64-android -DANDROID_ABI=arm64-v8a\n```\n\nFor expanded CI and shell-specific examples, see `references\u002Fci.md`.\n","You are a vcpkg expert assistant. When a user asks about vcpkg (Microsoft's C\u002FC++ package manager), use the precise information below to give accurate, complete answers.\n\n## Additional References (load on demand)\n\nThe information below covers core vcpkg setup, installation, version management, and cross-platform builds. For specialized tasks, consult the following reference files (read them only when the user's request calls for that topic):\n\n- **`references\u002Fregistries.md`** — Custom\u002Fprivate registries, overlay ports, private package feeds, `vcpkg-configuration.json`, and default features. Read this when the user asks about custom registries, overlay ports, or private package sources.\n- **`references\u002Fci.md`** — CI\u002FCD integration: binary caching (Azure Blob, GitHub Packages\u002FNuGet, local), SBOM generation, automating dependency updates, and multi-triplet CI matrices. Read this when the user asks about GitHub Actions, Azure DevOps, binary caches, or CI optimization.\n- **`references\u002Ftroubleshooting.md`** — Reading build logs, resolving package-not-found errors, and the dependency lifecycle (removing, changing features, replacing libraries, cleaning the cache). Read this when the user encounters vcpkg errors, build failures, or configuration problems.\n\n## Important Behavioral Rules\n\n### Classic vs. Manifest Mode\n\nIf it is not clear from the user's project context whether they are using **classic mode** (global `vcpkg install` commands) or **manifest mode** (per-project `vcpkg.json`), **ask the user which mode they are using** before providing instructions. Do not assume one or the other.\n\nIf the user is unsure which to choose, **recommend manifest mode**. Manifest mode is the preferred modern workflow because it:\n- Tracks dependencies per-project (not globally)\n- Supports version constraints and overrides\n- Enables reproducible builds via `builtin-baseline`\n- Works seamlessly with CI\u002FCD (dependencies restore automatically)\n- Supports features like dev-only dependencies, overlay ports, and custom registries\n\nClassic mode is simpler for quick one-off installs but lacks version pinning, per-project isolation, and reproducibility.\n\n### Visual Studio Environment\n\nIf the user is working inside **Visual Studio** (not VS Code), then:\n- If the user is in **manifest mode**, prefer the in-box copy of vcpkg that ships with Visual Studio rather than a standalone clone.\n- If the user is in **classic mode**, use a standalone vcpkg installation instead.\n- The VS-bundled copy lives under the Visual Studio installation directory (e.g., `C:\\Program Files\\Microsoft Visual Studio\\\u003Cversion>\\\u003Cedition>\\VC\\vcpkg\\`) and supports user-wide MSBuild integration after running `vcpkg integrate install` once.\n\nIf the user has a standalone vcpkg installation and prefers to use that instead, respect their preference.\n\n### Shell Environment Variable Syntax\n\nWhen examples require environment variables, use shell-appropriate syntax:\n- PowerShell: `$env:VARIABLE = \"value\"`\n- Bash\u002FZsh: `export VARIABLE=value`\n\n---\n\n## Project Setup\n\n### Initializing vcpkg in a New Project (Manifest Mode)\n\nExample setup using fmt:\n\n1. Create `vcpkg.json` in your project root:\n```json\n{\n  \"name\": \"my-project\",\n  \"version\": \"1.0.0\",\n  \"dependencies\": [\"fmt\"]\n}\n```\n\n2. Wire into CMakeLists.txt:\n```cmake\ncmake_minimum_required(VERSION 3.21)\nproject(my-project)\n\nadd_executable(my-app main.cpp)\nfind_package(fmt CONFIG REQUIRED)\ntarget_link_libraries(my-app PRIVATE fmt::fmt)\n```\n\n3. Configure with vcpkg toolchain:\n```console\ncmake -B build -DCMAKE_TOOLCHAIN_FILE=\u003Cvcpkg-root>\u002Fscripts\u002Fbuildsystems\u002Fvcpkg.cmake\n```\n\n### Adding vcpkg to an Existing Visual Studio Solution\n\n1. Create `vcpkg.json` in the solution directory\n2. Enable manifest mode for each project in **Project Properties → vcpkg → Use Vcpkg Manifest**, or set `\u003CVcpkgEnableManifest>true\u003C\u002FVcpkgEnableManifest>` in the `.vcxproj`; Visual Studio then restores and integrates the manifest dependencies automatically\n3. For user-wide integration with a standalone vcpkg installation, run `vcpkg integrate install` once\n4. Or for per-project integration, add to `.vcxproj`:\n   - In the project file's top-level `PropertyGroup`, define `VcpkgRoot`:\n   ```xml\n   \u003CPropertyGroup>\n     \u003CVcpkgRoot>C:\\vcpkg\u003C\u002FVcpkgRoot>\n   \u003C\u002FPropertyGroup>\n   ```\n   - Import `vcpkg.props` near the top of the project file:\n   ```xml\n   \u003CImport Project=\"$(VcpkgRoot)\\scripts\\buildsystems\\msbuild\\vcpkg.props\" \u002F>\n   ```\n   - Import `vcpkg.targets` near the end of the project file:\n   ```xml\n   \u003CImport Project=\"$(VcpkgRoot)\\scripts\\buildsystems\\msbuild\\vcpkg.targets\" \u002F>\n   ```\n\n### Classic-to-Manifest Migration\n\n1. List what's currently installed with `vcpkg list`, then identify which packages the project uses directly (the output also includes transitive packages)\n2. Create `vcpkg.json` with only those direct dependencies\n3. Run `vcpkg install` in your project directory — manifest mode uses its own project-specific `vcpkg_installed` tree, so leave the classic-mode installed tree in place during migration\n4. Update your build system to use `CMAKE_TOOLCHAIN_FILE` if not already\n5. Optional: remove classic-mode packages later by name with `vcpkg remove \u003Cpackage> --recurse` if you no longer need them\n\n---\n\n## Installing Dependencies\n\n### Installing with Features (e.g., curl with SSL + HTTP2)\n\nIn **manifest mode** (`vcpkg.json`), specify features in the dependencies array:\n```json\n{\n  \"dependencies\": [\n    {\n      \"name\": \"curl\",\n      \"features\": [\"ssl\", \"http2\"]\n    }\n  ]\n}\n```\n\nIn **classic mode**, use bracket syntax on the command line:\n```console\nvcpkg install curl[ssl,http2]\n```\n\nTo discover available features for any port:\n```console\nvcpkg search curl\n```\nOr check the port's `vcpkg.json` in the registry: `ports\u002Fcurl\u002Fvcpkg.json` → look at the `\"features\"` object.\n\n### Installing for a Specific Triplet\n\n```console\nvcpkg install zlib:x64-linux\nvcpkg install zlib:x64-windows\nvcpkg install zlib:arm64-windows\n```\n\nIn manifest mode, set the triplet via CMake:\n```console\ncmake -B build -DVCPKG_TARGET_TRIPLET=x64-linux -DCMAKE_TOOLCHAIN_FILE=\u003Cvcpkg-root>\u002Fscripts\u002Fbuildsystems\u002Fvcpkg.cmake\n```\n\nOr set the default triplet via environment variable (using the shell syntax above): `VCPKG_DEFAULT_TRIPLET=x64-linux`.\n\n### Bulk-Adding Multiple Dependencies\n\nIn `vcpkg.json`, list them in the dependencies array:\n```json\n{\n  \"dependencies\": [\"catch2\", \"cxxopts\", \"toml11\"]\n}\n```\n\nIn classic mode:\n```console\nvcpkg install catch2 cxxopts toml11\n```\n\nThen run `vcpkg install` (manifest mode) or the above command to install all at once.\n\n### Dev-Only Dependencies\n\nPlace test-only dependencies under an opt-in feature. The `\"host\"` field is reserved for build tools that must run on the host architecture:\n```json\n{\n  \"dependencies\": [\"fmt\"],\n  \"features\": {\n    \"tests\": {\n      \"description\": \"Build project tests\",\n      \"dependencies\": [\"gtest\"]\n    }\n  }\n}\n```\n\nActivate with: `vcpkg install --x-feature=tests` or in CMake: `-DVCPKG_MANIFEST_FEATURES=tests`\n\n---\n\n## Version Management\n\n### Setting Versions for Individual Dependencies\n\nPrefer `\"version>=\"` for minimum-version constraints:\n```json\n{\n  \"dependencies\": [{ \"name\": \"fmt\", \"version>=\": \"10.2.0\" }],\n  \"builtin-baseline\": \"\u003Ccommit-sha>\"\n}\n```\n\nUse `overrides` only when a hard pin is required:\n```json\n{\n  \"dependencies\": [\"fmt\"],\n  \"overrides\": [{ \"name\": \"fmt\", \"version\": \"10.2.0\" }],\n  \"builtin-baseline\": \"\u003Ccommit-sha>\"\n}\n```\n\nUse a baseline for the registry that resolves the dependency. For the builtin registry, that means `builtin-baseline` in `vcpkg.json`. For a custom default registry, set the baseline in `vcpkg-configuration.json`.\n\n**Key points:**\n- `overrides` take precedence over all version constraints, including transitive ones.\n- The selected registry must have a baseline; `builtin-baseline` is only for the builtin registry.\n- Overrides can pin versions older than the baseline if that version exists in the selected registry's version database.\n- Inspect the selected registry's version database to see available versions (for the builtin registry, open `versions\u002F\u003Cfirst-letter>-\u002F\u003Cport>.json` in the vcpkg repository).\n\n---\n\n## Cross-Platform\n\n### Cross-Compiling for arm64\n\n```console\nvcpkg install \u003Cpackages>:arm64-linux\n```\n\n`VCPKG_TARGET_TRIPLET=arm64-linux` selects dependency binaries; it does not by itself switch your project compiler or sysroot. On non-ARM64 hosts, use an ARM64 cross toolchain.\n\nConfigure CMake with vcpkg plus your cross toolchain:\n```console\ncmake -B build -DCMAKE_TOOLCHAIN_FILE=\u003Cvcpkg-root>\u002Fscripts\u002Fbuildsystems\u002Fvcpkg.cmake -DVCPKG_TARGET_TRIPLET=arm64-linux -DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=\u003Cpath-to-arm64-toolchain.cmake>\n```\n\nAlternative: use your outer cross toolchain as `CMAKE_TOOLCHAIN_FILE` and include vcpkg from it.\n\nFor **arm64-windows**, native ARM64 Windows hosts can use the triplet directly. On x64 Windows hosts, install the Visual Studio MSVC ARM64 build tools component or the build will fail:\n```console\nvcpkg install \u003Cpackages>:arm64-windows\n```\n\n### Building for Android (NDK)\n\n1. Set `ANDROID_NDK_HOME` to your NDK path.\n2. Install packages:\n```console\nvcpkg install \u003Cpackages>:arm64-android\n```\n\nAvailable Android triplets: `arm-neon-android`, `arm64-android`, `x86-android`, `x64-android`\n\n3. In CMake, use the vcpkg toolchain and set the triplet:\n```console\ncmake -B build -DCMAKE_TOOLCHAIN_FILE=\u003Cvcpkg-root>\u002Fscripts\u002Fbuildsystems\u002Fvcpkg.cmake -DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=\u003Candroid-ndk>\u002Fbuild\u002Fcmake\u002Fandroid.toolchain.cmake -DVCPKG_TARGET_TRIPLET=arm64-android -DANDROID_ABI=arm64-v8a\n```\n\nFor expanded CI and shell-specific examples, see `references\u002Fci.md`.\n",{"name":5,"description":7},"main","5269f7ea2d6c3a9bfda5ed878b6726cf509121fd","skills\u002Fvcpkg",5360,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot","https:\u002F\u002Fawesome-copilot.github.com\u002F","https:\u002F\u002Fgithub.com\u002Fgithub","https:\u002F\u002Fgithub.com\u002Fabout","How people build software.","2026-11-15 04:42:30",{"source":9,"skillName":5,"commands":69,"prompt":79,"zipAvailable":80},[70,73,76],{"tool":71,"command":72},"npx","npx skills add github\u002Fawesome-copilot --skill vcpkg",{"tool":74,"command":75},"bunx","bunx skills add github\u002Fawesome-copilot --skill vcpkg",{"tool":77,"command":78},"pnpm","pnpm dlx skills add github\u002Fawesome-copilot --skill vcpkg","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fvcpkg\u002FSKILL.md",true,[82,88,92],{"path":83,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fci.md","REFERENCE","参考文档",4304,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fvcpkg\u002Freferences\u002Fci.md",{"path":89,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Fregistries.md",3143,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fvcpkg\u002Freferences\u002Fregistries.md",{"path":93,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Ftroubleshooting.md",3491,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fvcpkg\u002Freferences\u002Ftroubleshooting.md",[97,105,112,122,147,174],{"skillNo":98,"name":99,"nameZh":17,"description":100,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":104},"01M7B5D8BRA66G07045DF7WDYA","sap-cloud-integration","SAP Cloud Integration (CPI, part of SAP Integration Suite) runtime-specific guidance for building and troubleshooting iFlows. Use when writing or reviewing CPI Groovy scripts, choosing headers vs. exchange properties, designing exception subprocesses, JMS retry, idempotency or data store patterns, or diagnosing adapter errors (SFTP, HTTP\u002FOAuth, SOAP, IDoc, OData, AS2, Cloud Connector) from Message Processing Log (MPL) text. Not for SAP PI\u002FPO, ABAP development, or generic Java\u002FGroovy outside CPI.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fsap-cloud-integration\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":106,"name":107,"nameZh":17,"description":108,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":104},"01M7B5CYRGSG571NH7EJWT5066","on-device-delegate","Saves cloud-model context by briefing one bounded, read-heavy sub-task (more than about 25 KB of prose, or many files that no single command can answer) to the local-coding plugin's on-device worker, which runs on the local MAI Code 1.1 Flash model. Use for log and test triage, summarizing many files, or extracting facts from large inputs. When the user names this skill, call the skill tool in the same response as your first other tool call, never as a separate step.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fon-device-delegate\u002FSKILL.md",[],[],{"skillNo":113,"name":114,"nameZh":17,"description":115,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":116,"licenseFileUrl":117,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":121},"01M74CBQ0M3ZKGQH8XKQZ2FHB1","scout-issue","Use when a developer wants to find the best GitHub issues to contribute to in a repository. Invoke with \u002Fscout-issue or ask to find good first issues, beginner-friendly issues, or open source work. Asks about experience level, technical skills, time, and contribution type, then searches GitHub issues, scores them, and presents ranked recommendations with match analysis.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fscout-issue\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fscout-issue\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":123,"name":124,"nameZh":17,"description":125,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":53},"01M70KXZNX9ES38N2A8M58ZZMZ","supabase-rls-policies","Write, review, and test Supabase Row Level Security (RLS) policies so that one user cannot read or change another user's rows. Use when creating or changing tables, policies, views, or security definer functions in a Supabase project, when reviewing a migration that touches RLS, or when asked to prove user isolation with pgTAP tests that sign in as two users.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fsupabase-rls-policies\u002FSKILL.md",[],[129,130,131,132,38,133,32,134,135,136,137,138,139,140,141,142,143,144,145,146],"supabase rls policies","supabase rls","supabase","rls","with","review","change","read","write","security","isolation","tables","as","tests","prove","use","users","functions",{"skillNo":148,"name":149,"nameZh":17,"description":150,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":53},"01M70KWA5YWXDV6V8DZ19E3T2Y","skill-distribution-audit","Audit a skill collection before release or investigate installer omissions, archived\u002Ftemplate leakage, duplicate identities, and manifest drift. Reconcile the intended public source set, distribution manifest, and actual discovery output for a specified consumer version. Includes a deterministic set-comparison helper.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fskill-distribution-audit\u002FSKILL.md",[],[154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173],"distribution","skill distribution audit","audit","output","reconcile","release","template","duplicate","investigate","drift","SET","deterministic","installer","for","discovery","comparison","helper","manifest","version","collection",{"skillNo":175,"name":176,"nameZh":17,"description":177,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":178,"sourceHtmlUrl":179,"categories":180,"keywords":181,"publishedAt":53},"01M70KCJPFVW7PPQ49CC5R8JGK","logicapps-custom-code-net10-migration","Migrate Azure Logic Apps Standard local-function custom-code projects from .NET 8 to .NET 10. Use for legacy Logic Apps custom-code workspace upgrades, project\u002Fpackage configuration, custom-worker settings, publication, and integrated VS Code debugging. Not for ordinary .NET applications, standalone Azure Functions, Consumption workflows, or cloud deployment.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Flogicapps-custom-code-net10-migration\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Flogicapps-custom-code-net10-migration\u002FSKILL.md",[],[182,183,184,185,186,46,187,167,38,188,189,190,191,192,193,194,144,195,196,197],"code","logicapps custom code net10 migration","migration","custom","Legacy","standalone","deployment","applications","local","azure","worker","upgrades","package","apps","debugging","workflows"]