Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions pages/common/vcpkg-create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# vcpkg create

> Create a new port from a downloadable source archive.
> More information: <https://learn.microsoft.com/vcpkg/commands/create>.

- Create a new port with a specific name from a source archive URL:

`vcpkg create {{port_name}} {{url}}`

- Create a new port using a pre-downloaded source archive:

`vcpkg create {{port_name}} {{url}} {{downloaded_filename}}.zip`
16 changes: 16 additions & 0 deletions pages/common/vcpkg-install.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# vcpkg install

> Install C and C++ library packages with `vcpkg`.
> More information: <https://learn.microsoft.com/vcpkg/commands/install>.

- Install one or more packages:

`vcpkg install {{package1 package2 ...}}`

- Install a package for a specific triplet:

`vcpkg install {{package}}:{{x64-windows}}`

- Install all packages listed in the `vcpkg.json` manifest:

`vcpkg install`
12 changes: 12 additions & 0 deletions pages/common/vcpkg-list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# vcpkg list

> List the libraries installed with `vcpkg`.
> More information: <https://learn.microsoft.com/vcpkg/commands/list>.
- List all installed libraries:

`vcpkg list`

- List installed libraries matching a filter:

`vcpkg list {{pattern}}`
16 changes: 16 additions & 0 deletions pages/common/vcpkg-remove.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# vcpkg remove

> Uninstall packages installed with `vcpkg`.
> More information: <https://learn.microsoft.com/vcpkg/commands/remove>.

- Remove one or more packages:

`vcpkg remove {{package1 package2 ...}}`

- Remove a package for a specific triplet:

`vcpkg remove {{package}}:{{x64-windows}}`

- Remove all outdated packages:

`vcpkg remove --outdated`
12 changes: 12 additions & 0 deletions pages/common/vcpkg-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# vcpkg search

> Search for packages available to be built with `vcpkg`.
> More information: <https://learn.microsoft.com/vcpkg/commands/search>.
- Search for a package by name or description:

`vcpkg search {{pattern}}`

- List all available packages:

`vcpkg search`
2 changes: 1 addition & 1 deletion pages/common/vcpkg.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# vcpkg

> Package manager for C/C++ libraries.
> Note: Packages are not installed in the system. To use them, you need to tell your build system (e.g. CMake) to use `vckg`.
> Note: Packages are not installed in the system. To use them, you need to tell your build system (e.g. CMake) to use `vcpkg`.
> More information: <https://learn.microsoft.com/vcpkg/>.
- Build and add package `libcurl` to the `vcpkg` environment:
Expand Down
Loading