CMakeLists.txt was not made by me, it was altered from the raylib-cmake-template.
Note: All commands are for linux. If your OS is anything else, I'm sure you can figure something out.
- Clone the repo
git clone https://github.com/Ban1p7/didactic-chainsaw.gitor click on green "code" button and download the zip, thenunzip didactic-chainsaw-main.zip - Enter the new folder --
cd didactic-chainsaw(orcd didactic-chainsaw-mainif you downloaded the .zip) - Make a build folder and enter it --
mkdir build && cd build(You can call it whatever, not just "build") - Generate the makefiles --
cmake .. - Compile the program --
make - Run it!
./DidacticChainsaw
Therefore, with git:
git clone https://github.com/Ban1p7/didactic-chainsaw.git
cd didactic-chainsaw
mkdir build && cd build
cmake ..
make
./DidacticChainsaw
Or if downloading the zip, navigate to it in your terminal and:
unzip didactic-chainsaw-main.zip
cd didactic-chainsaw-main
mkdir build && cd build
cmake ..
make
./DidacticChainsaw