Merge pull request #840 from NancyLi1013/vcpkg-instructins

Add vcpkg installation instructions
This commit is contained in:
Jordan Maples [MSFT] 2020-01-22 11:52:47 -08:00 committed by GitHub
commit 57dd11b20f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,6 +77,18 @@ These steps assume the source code of this repository has been cloned into a dir
All tests should pass - indicating your platform is fully supported and you are ready to use the GSL types! All tests should pass - indicating your platform is fully supported and you are ready to use the GSL types!
## Building GSL - Using vcpkg
You can download and install GSL using the [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 gsl
The GSL 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.
## Using the libraries ## Using the libraries
As the types are entirely implemented inline in headers, there are no linking requirements. As the types are entirely implemented inline in headers, there are no linking requirements.