vcpkg: add Spanish translation (#12351)

* vcpkg: add Spanish translation

---------

Co-authored-by: Alejandro Cervera <96702705+tricantivu@users.noreply.github.com>
pull/23/head
Darío Hereñú 2024-03-03 16:04:11 -03:00 committed by GitHub
parent 67490d6031
commit d0981685cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 21 additions and 0 deletions

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

@ -0,0 +1,21 @@
# vcpkg
> Gestor de paquetes para librerías C/C++.
> Nota: los paquetes no se instalan en el sistema. Para usarlos, necesitas decirle a tu sistema de compilación (por ejemplo CMake) que use `vcpkg`.
> Más información: <https://learn.microsoft.com/vcpkg/>.
- Construye y añade el paquete `libcurl` al entorno de `vcpkg`:
`vcpkg install curl`
- Construye y añade `zlib` usando la cadena de herramientas `emscripten`:
`vcpkg install --triplet=wasm32-emscripten zlib`
- Busca un paquete:
`vcpkg search {{nombre_del_paquete}}`
- Configura un proyecto CMake para utilizar los paquetes de `vcpkg`:
`cmake -B build -DCMAKE_TOOLCHAIN_FILE={{ruta/al/directorio_de_instalación_vcpkg}}/scripts/buildsystems/vcpkg.cmake`