- Get CLion (free with student access)
- Install Homebrew if you haven't
- If you don't have the dev CLI tools, go to terminal and paste: xcode-select --install
- Paste these to terminal:
- brew install sdl2
- brew install sdl2_image
- brew install sdl2_mixer
- brew install sdl2_ttf
Not sure yet, please figure out if you have windows
This guide assumes the use of yay, but the same general process applies for other package managers (e.g. apt-get).
- Install Git:
$ yay -S extra/git
Team members will need to additionally set up Git Credential Manager or an equivalent utility to contribute to the repository or clone while its private.
- Navigate to the directory you wish to store the project in
- Clone the Git repository:
$ git clone https://github.com/maxence-glt/HackNight-Chess-Engine.git
- Install JetBrains CLion C++ IDE:
$ yay -S aur/clion
- Activate your CLion install
Free educational licenses are available to students
- Add the cloned repo to CLion as a new project
- In
File | Settings | Build, Execution, Deployment | Toolchains
set CMake directory to/usr/bin/cmake
- SDL Packages:
$ yay -S extra/sdl2 extra/sdl2_image extra/sdl2_mixer extra/sdl2_ttf
- CMake:
$ yay -S extra/cmake