-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: remove customized items and add the relevant usage instead (#267)
Signed-off-by: msclock <msclock@qq.com>
- Loading branch information
Showing
16 changed files
with
80 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Customize vcpkg ports | ||
|
||
This folder applies to the custom vcpkg ports. These ports are loaded automatically which can be patched from the `ports` folder of the vcpkg repository or created from scratch. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Customize vcpkg toolchains | ||
|
||
This folder applies to the custom vcpkg toolchains. These toolchains can be loaded automatically which can be copied from the `scripts/toolchains` folder of the vcpkg repository or created from scratch. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Customize vcpkg triplets | ||
|
||
This folder applies to the custom vcpkg triplets. These triplets are loaded automatically which can be copied from the `triplets` folder of the vcpkg repository or created from scratch. | ||
|
||
For example, to create a custom triplet for Linux x64 with dynamic library linkage: | ||
|
||
```bash | ||
# Copy the triplet from the vcpkg repository | ||
cp /path/to/vcpkg/repository/triplets/x64-linux.cmake ./x64-linux.cmake | ||
# Edit the triplet to change the library linkage to dynamic | ||
sed -i ./x64-linux.cmake -e's/set(VCPKG_LIBRARY_LINKAGE static)/set(VCPKG_LIBRARY_LINKAGE dynamic)/g' | ||
# Show the contents of the triplet | ||
cat ./x64-linux.cmake | ||
# set(VCPKG_TARGET_ARCHITECTURE x64) | ||
# set(VCPKG_CRT_LINKAGE dynamic) | ||
# set(VCPKG_LIBRARY_LINKAGE dynamic) | ||
|
||
# set(VCPKG_CMAKE_SYSTEM_NAME Linux) | ||
|
||
# Use it when configure the project | ||
cmake --preset=default -DVCPKG_TARGET_TRIPLET=x64-linux | ||
``` |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Customize vcpkg ports | ||
|
||
This folder applies to the custom vcpkg ports. These ports are loaded automatically which can be patched from the `ports` folder of the vcpkg repository or created from scratch. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Customize vcpkg toolchains | ||
|
||
This folder applies to the custom vcpkg toolchains. These toolchains can be loaded automatically which can be copied from the `scripts/toolchains` folder of the vcpkg repository or created from scratch. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Customize vcpkg triplets | ||
|
||
This folder applies to the custom vcpkg triplets. These triplets are loaded automatically which can be copied from the `triplets` folder of the vcpkg repository or created from scratch. | ||
|
||
For example, to create a custom triplet for Linux x64 with dynamic library linkage: | ||
|
||
```bash | ||
# Copy the triplet from the vcpkg repository | ||
cp /path/to/vcpkg/repository/triplets/x64-linux.cmake ./x64-linux.cmake | ||
# Edit the triplet to change the library linkage to dynamic | ||
sed -i ./x64-linux.cmake -e's/set(VCPKG_LIBRARY_LINKAGE static)/set(VCPKG_LIBRARY_LINKAGE dynamic)/g' | ||
# Show the contents of the triplet | ||
cat ./x64-linux.cmake | ||
# set(VCPKG_TARGET_ARCHITECTURE x64) | ||
# set(VCPKG_CRT_LINKAGE dynamic) | ||
# set(VCPKG_LIBRARY_LINKAGE dynamic) | ||
|
||
# set(VCPKG_CMAKE_SYSTEM_NAME Linux) | ||
|
||
# Use it when configure the project | ||
cmake --preset=default -DVCPKG_TARGET_TRIPLET=x64-linux | ||
``` |
This file was deleted.
Oops, something went wrong.