Building Maratis

From MaratisWiki
(Difference between revisions)
Jump to: navigation, search
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Welcome to the build documentation
+
==Download source code==
  
You will find here some how to buid Maratis on some platforms.
+
Maratis source code is available from the subversion repository at [https://code.google.com/p/maratis/source/checkout Google Code].
In any cases, the current version of the build system use Scons which deeply use Python in order to build the programs.
+
Consequently, please visit (and install if necessary) Python before continuing.
+
  
Then go to the trunk/dev folder where  scons.py should be found.
+
Use this command to anonymously check out the latest project source code:
Then run:
+
python scons.py
+
  
All the stuff should be build/written in a 'build' directory.
+
  svn checkout http://maratis.googlecode.com/svn/ maratis-read-only
  
In the subfolder 3rdparty you should find all the static libs: bullet, devil, freetype, glee, jpeg, png, lua, npk, tinyxml, zlib.
+
==Building on Windows, Mac and Linux==
 +
 
 +
The current version of the build system uses [https://www.python.org/ Python 2] and [http://www.scons.org/ Scons] to produce binaries for Windows, OSX and Linux.
 +
 
 +
Go to '''''trunk/dev''''' and type:
 +
 
 +
  python scons.py
 +
 
 +
Debug:
 +
 
 +
  python scons.py build_mode=debug
 +
 
 +
At the end of the build, if successful, the final binaries will be installed in '''''trunk/dev/prod'''''
 +
 
 +
==Want more help ?==
 +
 
 +
* [[Building Maratis for Windows]] - Step by step tutorial for Windows
 +
* [[Building Maratis for iOS]]
 +
 
 +
[[Category:Building]]

Latest revision as of 11:50, 27 July 2014

Download source code

Maratis source code is available from the subversion repository at Google Code.

Use this command to anonymously check out the latest project source code:

 svn checkout http://maratis.googlecode.com/svn/ maratis-read-only

Building on Windows, Mac and Linux

The current version of the build system uses Python 2 and Scons to produce binaries for Windows, OSX and Linux.

Go to trunk/dev and type:

 python scons.py

Debug:

 python scons.py build_mode=debug

At the end of the build, if successful, the final binaries will be installed in trunk/dev/prod

Want more help ?

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox