Skip to content

Commit 4a9b101

Browse files
committed
docs: use vcpkg in the docs [skip ci]
1 parent 772b718 commit 4a9b101

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,26 +43,26 @@ Tip: You can automate downloading using `wget`, `curl` or other similar tools.
4343

4444
Download the executable for your platform from [here](https://github.com/aminya/setup-cpp/releases/tag/v0.2.2), and run it with the available options.
4545

46-
An example that installs llvm, cmake, ninja, ccache, and conan:
46+
An example that installs llvm, cmake, ninja, ccache, and vcpkg:
4747

4848
```ps1
4949
# windows example (open shell as admin)
5050
curl -O "https://github.com/aminya/setup-cpp/releases/download/v0.2.2/setup_cpp_windows.exe"
51-
./setup_cpp_windows --compiler llvm --cmake true --ninja true --ccache true --conan true
51+
./setup_cpp_windows --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
5252
```
5353

5454
```ps1
5555
# linux example
5656
wget "https://github.com/aminya/setup-cpp/releases/download/v0.2.2/setup_cpp_linux"
5757
chmod +x setup_cpp_linux
58-
sudo ./setup_cpp_linux --compiler llvm --cmake true --ninja true --ccache true --conan true
58+
sudo ./setup_cpp_linux --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
5959
```
6060

6161
```ps1
6262
# mac example
6363
wget "https://github.com/aminya/setup-cpp/releases/download/v0.2.2/setup_cpp_mac"
6464
chmod +x setup_cpp_mac
65-
sudo ./setup_cpp_mac --compiler llvm --cmake true --ninja true --ccache true --conan true
65+
sudo ./setup_cpp_mac --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
6666
```
6767

6868
NOTE: In the `compiler` entry, you can specify the version after `-` like `llvm-11`.
@@ -77,19 +77,19 @@ On Windows
7777
```ps1
7878
# open shell as admin
7979
curl "https://github.com/aminya/setup-cpp/releases/download/v0.2.2/setup_cpp.js"
80-
node ./setup_cpp.js --compiler llvm --cmake true --ninja true --ccache true --conan true
80+
node ./setup_cpp.js --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
8181
```
8282

8383
On Linux or Mac:
8484

8585
```ps1
8686
wget "https://github.com/aminya/setup-cpp/releases/download/v0.2.2/setup_cpp.js"
87-
sudo node ./setup_cpp.js --compiler llvm --cmake true --ninja true --ccache true --conan true
87+
sudo node ./setup_cpp.js --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
8888
```
8989

9090
# Inside GitHub Actions
9191

92-
Here is a complete cross-platform example that tests llvm and gcc. It also uses cmake, ninja, conan, cppcheck, and ccache.
92+
Here is a complete cross-platform example that tests llvm and gcc. It also uses cmake, ninja, vcpkg, cppcheck, and ccache.
9393

9494
`.github/workflows/ci.yml`:
9595

@@ -145,8 +145,8 @@ RUN apt-get install -y --no-install-recommends ca-certificates wget unzip
145145
RUN wget --no-verbose "https://github.com/aminya/setup-cpp/releases/download/v0.2.2/setup_cpp_linux"
146146
RUN chmod +x ./setup_cpp_linux
147147

148-
# install llvm, cmake, ninja, ccache, and conan
149-
RUN ./setup_cpp_linux --compiler llvm --cmake true --ninja true --ccache true --conan true
148+
# install llvm, cmake, ninja, ccache, and vcpkg
149+
RUN ./setup_cpp_linux --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
150150

151151
ENTRYPOINT [ "/bin/sh" ]
152152
```

0 commit comments

Comments
 (0)