Add instructions for FreeBSD.

This commit is contained in:
Dag-Erling Smørgrav 2021-10-17 21:47:23 +02:00
parent cce98514a7
commit 0d576cbfde

View file

@ -15,6 +15,13 @@
sudo apt-get install ninja-build pkg-config curl zip unzip tar cmake build-essential libx11-dev libxrandr-dev libxi-dev libudev-dev libgl1-mesa-dev sudo apt-get install ninja-build pkg-config curl zip unzip tar cmake build-essential libx11-dev libxrandr-dev libxi-dev libudev-dev libgl1-mesa-dev
``` ```
### FreeBSD 12 or newer
* Install the build tools
```bash
sudo pkg install catch cmake libfmt ninja sfml
```
### Windows: ### Windows:
* Follow the instructions to install cmake (3.21) from https://cmake.org/download/ * Follow the instructions to install cmake (3.21) from https://cmake.org/download/
@ -32,10 +39,19 @@ brew install cmake ninja
## Configure and build project ## Configure and build project
### All Platforms ### All Platforms, using VS Code
```bash ```bash
git clone https://github.com/mod-cpp/pacman.git git clone https://github.com/mod-cpp/pacman.git
cd pacman cd pacman
code . code .
``` ```
### Linux, BSD, or Mac, not using VS Code
```bash
git clone https://github.com/mod-cpp/pacman.git
cd pacman
cmake .
make
```