Skip to content

Developer Getting Started: Linux

Cong edited this page Jul 23, 2013 · 25 revisions

Prerequisites

  • git
  • cmake
  • libsdl1.2-dev
  • libsdl-mixer1.2-dev

Clone repo

  1. Clone the repo to a location (e.g. ~/cdogs-sdl) using git clone 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!