Skip to content

Compiling

Zack Middleton edited this page Aug 19, 2013 · 39 revisions

Spearmint can be built on GNU/Linux, Mac OS X, and Windows in various ways.

##GNU/Linux ###Terminal Run make

###Code::Blocks (gcc)

  1. Open misc/code_blocks/spearmint.workspace
  2. Build Release Linux ARCH or Debug Linux ARCH

Select build for x86 or x86_64 based on system arch. Building for different arch is not supported.

##Mac OS X ###Terminal Build Universal Bundle: Recommend to build on Max OS X 10.6 or later with 10.5 SDK installed.

  • Run ./make-macosx-ub.sh

Build single platform .app bundle:

  • Run ./make-macosx.sh x86_64
  • Run ./make-macosx.sh ppc
  • Run ./make-macosx.sh x86

Unpackaged (run using Terminal.app)

  • Run make

###Xcode Doesn't work. Need to update for cgame-ui VM merger, see issue #115.

Project directory: misc/xcode

##Windows MSYS (a command line shell) is the recommended build method.

###MSYS (MinGW) Run make

###Cygwin (MinGW) Run make PLATFORM=mingw32

###Code::Blocks (MinGW)

  1. Open misc/code_blocks/spearmint.workspace
  2. Build Release Win32 or Debug Win32

###Visual C++ (2008) Doesn't work.

  • SDL lib needs updating?
  • Need to update for cgame-ui VM merger.

Project directory: misc/msvc/

###Visual C++ (2010) Doesn't work. There are project files from ioq3 that could be updated for Spearmint though.

Project directory: misc/msvc10/

Clone this wiki locally