mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 02:57:09 +01:00
Correct parameter reference (#10472)
- Change references to --overlay-ports to --overlay-triplets
This commit is contained in:
parent
056e9517ec
commit
a5a244f5bd
@ -71,7 +71,7 @@ When using the `--overlay-triplets` option, a message like the following lets yo
|
|||||||
|
|
||||||
As you may have noticed, the default triplets for Windows (`x86-windows` and `x64-windows`) install dynamic libraries, while a suffix (`-static`) is needed for static libraries. This is different with Linux and Mac OS where static libraries are built by `x64-linux` and `x64-osx`.
|
As you may have noticed, the default triplets for Windows (`x86-windows` and `x64-windows`) install dynamic libraries, while a suffix (`-static`) is needed for static libraries. This is different with Linux and Mac OS where static libraries are built by `x64-linux` and `x64-osx`.
|
||||||
|
|
||||||
Using `--overlay-ports` it is possible to override the default triplets to accomplish the same behavior on Linux:
|
Using `--overlay-triplets` it is possible to override the default triplets to accomplish the same behavior on Linux:
|
||||||
|
|
||||||
* `x64-linux`: Builds dynamic libraries,
|
* `x64-linux`: Builds dynamic libraries,
|
||||||
* `x64-linux-static`: Builds static libraries.
|
* `x64-linux-static`: Builds static libraries.
|
||||||
@ -85,7 +85,7 @@ Using the custom triplet created in the previous example, rename `custom-triplet
|
|||||||
~/git$ cp vcpkg/triplets/x64-linux.cmake custom-triplets/x64-linux-static.cmake
|
~/git$ cp vcpkg/triplets/x64-linux.cmake custom-triplets/x64-linux-static.cmake
|
||||||
```
|
```
|
||||||
|
|
||||||
### Step 2: Use `--overlay-ports` to override default triplets
|
### Step 2: Use `--overlay-triplets` to override default triplets
|
||||||
|
|
||||||
Use the `--overlay-triplets` option to include the triplets in the `custom-triplets` directory.
|
Use the `--overlay-triplets` option to include the triplets in the `custom-triplets` directory.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user