C++ + CMake + SDL2 shooter minigame for The Tao of tmux and Terminal Tricks
Makefile
with file watching functionality from the
book
make debug
- generate game with debug symbols for lldb
make watch_debug
- rebuild debug application on code file change
make build
- generate game app
make watch_build
- rebuild build application on code file change
make run
- open game
Load project with tmuxp via $ tmuxp load .
in
the project directory. See .tmuxp.yaml
Clone with
git clone --recursive https://github.com/tony/tot-cpp-shmup.git
If you forgot to type --recursive
download submodules with:
git submodule update --init --recursive
$ make install_osx_deps
or
$ brew install cmake ninja sdl2 sdl2_image sdl2_ttf entr
Debian / Ubuntu / Mint: $ sudo apt-get install ninja-build cmake libsdl2-dev entr
$ make debug
$ make run