-
Make sure Git and CMake are intalled on your system.
-
Clone the repository: in a shell execute the command
git clone https://github.com/Jef808/ball-thrower
- Now navigate to the project's root and set up the CMake build template
cd ball-thrower
cmake -S . -B build -DCMAKE_BUILD_TYPE=release
- Once cmake has setup everything, you are ready to build the executable binary.
By using the following command, the binary will be compiled and located at
build/bin/main
cmake --build build
Now that an executable binary was successfully built, simply execute it with
./build/bin/main