Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/SPIRV-Cross.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Kristian Arntzen <post@arntzen-software.no>2022-09-12 13:06:56 +0300
committerGitHub <noreply@github.com>2022-09-12 13:06:56 +0300
commit1e7e9fc32baf8d585d61bb0b8df3cd7d6838b530 (patch)
treec60a15d67393c2fe9fda6479204680443c23bf3d
parent85535888953fe2c9ba49e77d92f2c18a1204f76c (diff)
parentd206e54ecefb30206f9c58124f8d710d736d4a2f (diff)
Merge pull request #2015 from FrankXie05/vcpkg-instructions
Add vcpkg installation instructions
-rw-r--r--README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md
index 9dbad82c..fbf5e835 100644
--- a/README.md
+++ b/README.md
@@ -57,6 +57,20 @@ The make and CMake build flavors offer the option to treat exceptions as asserti
You can use `-DSPIRV_CROSS_STATIC=ON/OFF` `-DSPIRV_CROSS_SHARED=ON/OFF` `-DSPIRV_CROSS_CLI=ON/OFF` to control which modules are built (and installed).
+### Installing SPIRV-Cross (vcpkg)
+
+Alternatively, you can build and install SPIRV-Cross using [vcpkg](https://github.com/Microsoft/vcpkg/) dependency manager:
+
+```
+git clone https://github.com/Microsoft/vcpkg.git
+cd vcpkg
+./bootstrap-vcpkg.sh
+./vcpkg integrate install
+./vcpkg install spirv-cross
+```
+
+The SPIRV-Cross port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please [create an issue or pull request](https://github.com/Microsoft/vcpkg) on the vcpkg repository.
+
## Usage
### Using the C++ API