Skip to content

Developer Getting Started: Linux

Cong edited this page Feb 24, 2014 · 25 revisions

Prerequisites

  • git
  • cmake
  • libsdl1.2-dev, libsdl-mixer1.2-dev, libsdl-image1.2-dev, libsdl-net1.2-dev

Clone repo

  1. Clone the repo to a location (e.g. ~/cdogs-sdl) using git clone --recursive https://github.com/cxong/cdogs-sdl.git cdogs-sdl

  2. You should now see the repo contents in ~/cdogs-sdl

  3. C-Dogs SDL includes several submodules, some recursively, so use the following git commands: git submodule init; git submodule update --init --recursive; git submodule update --recursive

Run CMake and build

  1. The CMake and build commands are conveniently packaged into the make.sh shell script, so just run it

  2. Run cdogs-sdl. You are ready to go!