Building Maratis

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
Welcome to the build documentation
+
The current version of the build system uses Scons and Python to produce binaries for Windows, OSX and Linux,<br>
 +
consequently, please visit (and install if necessary) Python before continuing.
 +
<br><br>
 +
Go to the '''trunk/dev''' folder and type : '''python scons.py'''<br>
 +
or if you want to work in debug : '''python scons.py build_mode=debug'''
 +
<br><br>
 +
During the process, all the compiled files will be produced into the 'build' directory,<br>
 +
including executables and static libs (bullet, freetype, zlib...)
  
You will find here some how to buid Maratis on some platforms.
+
At the end of the build, if successful, the final binaries will be installed into the ''''prod'''' directory :<br>
In any cases, the current version of the build system use Scons which deeply use Python in order to build the programs.
+
'''ManualUse, MaratisEditor, MaratisPlayer, MCore, MEngine'''
Consequently, please visit (and install if necessary) Python before continuing.
+
 
+
Then go to the trunk/dev folder where  scons.py should be found.
+
Then run:
+
python scons.py
+
or if you want to work in debug:
+
python scons.py build_mode=debug
+
 
+
All the stuffs should be build/written in a 'build' directory.
+
 
+
In the subfolder 3rdparty you should find all the static libs: bullet, devil, freetype, glee, jpeg, png, lua, npk, tinyxml, zlib.
+
 
+
After build, if successfull, all the bins should be copied into the folder 'prod': ManualUse.exe, MaratisEditor.exe, MaratisPlayer.exe, MCore.dll, MEngine.dll...
+

Revision as of 14:33, 9 February 2013

The current version of the build system uses Scons and Python to produce binaries for Windows, OSX and Linux,
consequently, please visit (and install if necessary) Python before continuing.

Go to the trunk/dev folder and type : python scons.py
or if you want to work in debug : python scons.py build_mode=debug

During the process, all the compiled files will be produced into the 'build' directory,
including executables and static libs (bullet, freetype, zlib...)

At the end of the build, if successful, the final binaries will be installed into the 'prod' directory :
ManualUse, MaratisEditor, MaratisPlayer, MCore, MEngine

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox