Skip to content

Commit f0605a3

Browse files
committed
Add vcpkg installation instructions
1 parent 006bbf5 commit f0605a3

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/build.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,20 @@ Since `libsass` is a library, it makes sense to install it as a shared library o
3333

3434
- [Building shared system library][4]
3535

36+
### Building from vcpkg
37+
38+
The libsass port in [vcpkg][12] is kept up to date by Microsoft team members and community contributors. You can download and install libsass using the vcpkg dependency manager:
39+
40+
```bash
41+
git clone https://github.com/Microsoft/vcpkg.git
42+
cd vcpkg
43+
./bootstrap-vcpkg.sh # ./bootstrap-vcpkg.bat for Windows
44+
./vcpkg integrate install
45+
./vcpkg install libsass
46+
```
47+
48+
If the version is out of date, please [create an issue or pull request][12] on the vcpkg repository.
49+
3650
Compiling with clang instead of gcc
3751
--
3852

@@ -95,3 +109,4 @@ Miscellaneous
95109
[9]: implementations.md
96110
[10]: build-on-darwin.md
97111
[11]: build-with-visual-studio.md
112+
[12]: https://github.com/Microsoft/vcpkg

0 commit comments

Comments
 (0)