Skip to content

Developer Getting Started: OSX Xcode

Cong edited this page Sep 1, 2013 · 18 revisions

Prerequisites

Clone repo: GitHub for Mac

  1. Click the "Clone in Desktop" button in the repo website.

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

Run CMake

  1. Run CMake: for "Where is the source code:" input C:\cdogs-sdl\src, and for "Where to build the binaries:" input C:\cdogs-sdl

  2. Click "Configure", choosing the right Visual Studio version (e.g. VS2012 is VS11); click Finish

  3. Click "Generate"; you should now see Visual Studio projects in C:\cdogs-sdl.

Visual Studio

  1. Open C:\cdogs-sdl\cdogs-sdl.sln

  2. Set the cdogs-sdl project as the startup project

  3. Press F5 to compile and run. You are ready to go!