Zooshi
An open source project by FPL.
 All Pages
Building for Windows

You can use cmake to generate a Visual Studio project for Zooshi on Windows.

Version Requirements

Zooshi is known to build with the following tool versions:

Before Building

Use cmake to generate the Visual Studio solution and project files.

The following example generates the Visual Studio 2012 solution in the zooshi directory:

cd zooshi
cmake -G "Visual Studio 11"

To generate a Visual Studio 2010 solution, use this command:

cd zooshi
cmake -G "Visual Studio 10"

Running cmake under cygwin requires empty TMP, TEMP, tmp and temp variables. To generate a Visual Studio solution from a cygwin bash shell use:

$ cd zooshi
$ ( unset {temp,tmp,TEMP,TMP} ; cmake -G "Visual Studio 11" )

Building with Visual Studio

  • Double-click on zooshi/zooshi.sln to open the solution.
  • Select Build-->Build Solution from the menu.

It's also possible to build from the command line using msbuild after using vsvars32.bat to set up the Visual Studio build environment. For example, assuming Visual Studio is installed in c:\Program Files (x86)\Microsoft Visual Studio 11.0:

cd zooshi
"c:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\vsvars32.bat"
cmake -G "Visual Studio 11"
msbuild zooshi.sln

Executing the Game with Visual Studio

  • Right-click on the zooshi project in the Solution Explorer pane, and select Set as Startup Project.
  • Select Debug-->Start Debugging from the menu.