Skip to content

mskcode/asteroids

Repository files navigation

Asteroids clone

Development

Cloning repository

git clone --recurse-submodules https://github.com/mskcode/asteroids.git

Building binaries

The fast way to test if project builds and runs is to run build-and-run.sh with or without optional --clean parameter.

./build-and-run.sh

You can also do you by running CMake manually and go from there.

mkdir -p build/debug
cd build/debug
cmake ../.. -DCMAKE_BUILD_TYPE=Debug -G "Ninja"
ninja

After the build completes (ninja in this case), the application executable proper (game) and unit test executable (asteroids_test) can be found from ./bin directory.

Adding Git submodules

cd submodules
git submodule add <repository_url>

Add the newly added submodule to CMakeLists.txt file in this root directory.

TODO

  • Some kind of logging setup would be nice.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages