Skip to content

Developer Getting Started: Linux

cxong edited this page Apr 6, 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. Run a submodule init and submodule update to get the submodules as well (just tinydir), using git submodule init; git submodule update

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!