pacman/exercises/11/build_and_run
Dag-Erling Smørgrav 0d576cbfde Add instructions for FreeBSD. 2021-10-17 21:52:52 +02:00
..
README.md Add instructions for FreeBSD. 2021-10-17 21:52:52 +02:00

README.md

< Back

Exercise: Set up development environment

Install tools

All Platforms

Ubuntu 20.04 or newer

  • Install the build tools
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
sudo pkg install catch cmake libfmt ninja sfml

Windows:

Mac

  • Install clang by typing xcode-select --install in a terminal and following the instructions
  • Install the build tools
brew install cmake ninja

Configure and build project

All Platforms, using VS Code

git clone https://github.com/mod-cpp/pacman.git
cd pacman
code .

Linux, BSD, or Mac, not using VS Code

git clone https://github.com/mod-cpp/pacman.git
cd pacman
cmake .
make