From 0d576cbfdea7e4369197db6ecbef3f83eafa90f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Sun, 17 Oct 2021 21:47:23 +0200 Subject: [PATCH] Add instructions for FreeBSD. --- exercises/11/build_and_run/README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/exercises/11/build_and_run/README.md b/exercises/11/build_and_run/README.md index f08a2ed..bd952a6 100644 --- a/exercises/11/build_and_run/README.md +++ b/exercises/11/build_and_run/README.md @@ -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 ``` +### FreeBSD 12 or newer + +* Install the build tools +```bash +sudo pkg install catch cmake libfmt ninja sfml +``` + ### Windows: * 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 -### All Platforms +### All Platforms, using VS Code ```bash git clone https://github.com/mod-cpp/pacman.git cd pacman code . ``` + +### Linux, BSD, or Mac, not using VS Code + +```bash +git clone https://github.com/mod-cpp/pacman.git +cd pacman +cmake . +make +```