Commit 0d34af24 authored by djyt's avatar djyt
Browse files

Merge branch 'master' into develop

parents beacfd62 005b2ad9
......@@ -11,18 +11,21 @@ Credits
Getting Started
---------------
Cannonball has been successfully built for Windows, Mac OS X, Linux, Open Pandora and the Raspberry Pi.
* Install your favourite C++ environment (e.g. GCC, Visual Studio, Xcode, MingGW etc.)
* Install [CMake](http://www.cmake.org/). This generates your platform and compiler build files.
* Extract the [Boost Library](http://www.boost.org/) somewhere, for example: c:\coding\lib\boost_1_51_0
* Extract the [SDL Library](http://www.libsdl.org/download-1.2.php) somewhere, for example: c:\coding\lib\SDL-1.2.15
* Read the SDL documentation & compile the SDL Library for your system.
* Extract the Cannonball code somewhere, for example: c:\dev\cannonball
* Configure the CMakeLists.txt file, use a build.cmake file to reflect the correct directory structure for your libraries.
* Extract the Cannonball code somewhere, for example: c:\coding\cannonball
* You may need to create a .cmake file for your system to configure specific options. See the cmake subdirectory for more details. If not, the default.cmake file will be used.
Build
-----
* Run CMake to generate the relevant build files for your compiler.
* Run CMake to generate the relevant build files for your compiler. You can optionally pass -DTARGET=filename to pass a custom .cmake file
* Compile using your chosen compiler. Further details below.
###
......@@ -35,7 +38,7 @@ Build
cmake -G "Insert Generator Name Here" ../cmake
make
### MingGW
### MinGW
cmake -G "MinGW Makefiles" -DTARGET=mingw ../cmake
mingw32-make
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment