This is a small clone of the retro game asteroids.
I started making it with the purpose of learning to use SFML, get comfortable writing C++ code, and managing a 'larger' project.
- CMake 3.23
- GCC 11.2 or equivalent
- Clone the repo and deps
git clone --recurse-submodules https://github.com/Rocco2300/asteroids-clone.git
- Go to install dir and create build directory
cd asteroids-clone
mkdir build
- Build using CMake
cmake .. -G "MinGW Makefiles"
cmake --build . -- -j4 -O
- Run executable
./asteroids-clone
After the project is built, you will just have tu run the executable.