Skip to content
Snippets Groups Projects
Verified Commit 8dbb4a6a authored by Tim Kaune's avatar Tim Kaune
Browse files

Update README

parent 77f84624
No related branches found
No related tags found
No related merge requests found
......@@ -39,8 +39,7 @@ What you need:
### Linux (Ubuntu) ###
Use your distribution's package manager to install the packages `cmake`,
`ninja-build` and `gcc`.
Use your distribution's package manager to install the necessary packages:
```shell
$ sudo apt-get install cmake ninja-build gcc
......@@ -48,6 +47,11 @@ $ sudo apt-get install cmake ninja-build gcc
### Mac OS X ###
You will need one of the community package managers for Mac OS X:
[Homebrew](https://brew.sh/) or
[MacPorts](https://www.macports.org/install.php). For installing one of these,
please refer to their respective installation instructions.
#### Homebrew ####
```shell
......@@ -57,13 +61,32 @@ $ brew install cmake ninja llvm
#### MacPorts ####
```shell
$ sudo port install cmake ninja clang-devel
$ sudo port -vb install cmake-devel ninja clang-<XX>
```
where you have to replace `<XX>` with the latest stable version of Clang.
You can discover all available versions of Clang like this:
```shell
$ port search --name --line --regex '^clang-?\d*\.?\d*$'
```
### Windows ###
Install Cygwin and use the Cygwin package manager to install the packages
`cmake`, `ninja` and `gcc-core`.
The easiest thing to do is using the [Windows Subsystem for Linux
(WSL)](https://learn.microsoft.com/en-us/windows/wsl/install) and follow the
Linux instructions above.
Otherwise, install [Git for Windows](https://gitforwindows.org/) for version
control and [cygwin](https://cygwin.com/install.html), which is a large
collection of GNU and Open Source tools which provide functionality similar to a
Linux distribution on Windows. During the `cygwin` installation you'll be
prompted to add additional packages. Search and select the following:
- `cmake`, `ninja` and `gcc-core` for the compiler and the build system
After `cygwin` finishes installing, use the cygwin terminal to start the build
process.
## How to compile ##
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment