Skip to content
This repository was archived by the owner on Apr 19, 2023. It is now read-only.

Commit 7c46a0b

Browse files
committed
docs: add readme about setup-cpp
1 parent 96b91c2 commit 7c46a0b

1 file changed

Lines changed: 18 additions & 3 deletions

File tree

README.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,25 @@ Note about install commands:
3333

3434
### Too Long, Didn't Install
3535

36-
This is a really long list of dependencies, and it's easy to mess up.
37-
That's why we have a Docker image that's already set up for you.
38-
See the [Docker instructions](#docker-instructions) below.
36+
This is a really long list of dependencies, and it's easy to mess up. That's why:
3937

38+
#### Docker
39+
We have a Docker image that's already set up for you. See the [Docker instructions](#docker-instructions).
40+
41+
#### Setup-cpp
42+
43+
We have [setup-cpp](https://github.com/aminya/setup-cpp) that is a cross-platform tool to install all the compilers and dependencies on the system.
44+
45+
Please check [the setup-cpp documentation](https://github.com/aminya/setup-cpp) for more information.
46+
47+
For example, on Windows, you can run the following to install llvm, cmake, ninja, ccache, conan, and cppcheck.
48+
```ps1
49+
# windows example (open shell as admin)
50+
curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.5.7/setup_cpp_windows.exe"
51+
./setup_cpp_windows --compiler llvm --cmake true --ninja true --ccache true --conan true --cppcheck true
52+
53+
RefreshEnv.cmd # reload the environment
54+
```
4055

4156
### Necessary Dependencies
4257
1. A C++ compiler that supports C++17.

0 commit comments

Comments
 (0)