add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

21
pages.zh/common/vcpkg.md Normal file
View File

@@ -0,0 +1,21 @@
# vcpkg
> C/C++ 库的包管理器。
> 注意包并不安装在系统中。要使用它们您需要告诉您的构建系统例如CMake使用 `vcpkg`。
> 更多信息:<https://learn.microsoft.com/zh-cn/vcpkg/>。
- 构建并将包 `libcurl` 添加到 `vcpkg` 环境中:
`vcpkg install curl`
- 使用 `emscripten` 工具链构建并添加 `zlib`
`vcpkg install --triplet=wasm32-emscripten zlib`
- 搜索包:
`vcpkg search {{pkg_name}}`
- 配置 CMake 项目以使用 `vcpkg` 包:
`cmake -B build -DCMAKE_TOOLCHAIN_FILE={{path/to/vcpkg_install_directory}}/scripts/buildsystems/vcpkg.cmake`