Skip to content

Latest commit

 

History

History
63 lines (42 loc) · 888 Bytes

README.md

File metadata and controls

63 lines (42 loc) · 888 Bytes

MMDM - RayCasting in C with SDL2

Setup

Prerequisites

  • CMake
  • C/C++ compiler
  • SDL2

Optional

  • check (unit testing framework)
  • clang-format
  • clang-tidy
  • pre-commit

Install prerequisites

sudo apt-get install cmake libsdl2-*

# (optional)
sudo apt-get install check clang-format clang-tidy
pip install pre-commit

Package setup

mkdir ~/mmdm && cd ~/mmdm

# clone the repo
git clone [email protected]:vamsikalagaturu/mmdm.git .

Building the package

  1. Create a build directory for the package

    mkdir ~/mmdm/build && cd ~/mmdm/build
  2. Configure the cmake project

    cmake .. -DCMAKE_BUILD_TYPE=Release
  3. Build the package

    make -j $(nproc)

Run

  1. From the build folder

    ./mmdm