2021-10-04 12:47:14 +00:00
|
|
|
# Mod(C++) Fundamentals
|
|
|
|
|
2021-10-04 13:12:22 +00:00
|
|
|
## Install tools
|
|
|
|
### All Platforms:
|
2021-10-04 12:47:14 +00:00
|
|
|
* Follow the instructions to install VSCode from https://code.visualstudio.com/
|
|
|
|
|
2021-10-04 13:12:22 +00:00
|
|
|
### Ubuntu 20.04 or newer
|
2021-10-04 12:47:14 +00:00
|
|
|
* Install the build tools
|
|
|
|
```bash
|
|
|
|
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
|
|
|
|
```
|
|
|
|
|
2021-10-04 13:12:22 +00:00
|
|
|
### Windows:
|
2021-10-04 12:47:14 +00:00
|
|
|
* Follow the instructions to install cmake (3.21) from https://cmake.org/download/
|
|
|
|
* Install Visual Studio https://visualstudio.microsoft.com/
|
|
|
|
You might have to reboot your computer once that's done.
|
|
|
|
|
2021-10-04 13:12:22 +00:00
|
|
|
### Mac
|
2021-10-04 12:49:39 +00:00
|
|
|
* Install clang by typing `xcode-select --install` in a terminal and following the instructions
|
2021-10-04 12:49:20 +00:00
|
|
|
* Install the build tools
|
2021-10-04 12:47:14 +00:00
|
|
|
```bash
|
|
|
|
brew install cmake ninja
|
2021-10-04 12:49:20 +00:00
|
|
|
```
|
2021-10-04 13:12:22 +00:00
|
|
|
|
|
|
|
## Configure and build project
|
|
|
|
|
|
|
|
### All Platforms:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
git clone https://github.com/mod-cpp/pacman.git
|
|
|
|
cd pacman
|
|
|
|
code .
|
|
|
|
```
|