Building Maratis

From MaratisWiki
(Difference between revisions)
Jump to: navigation, search
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=Download Maratis source code=
+
==Download source code==
  
Maratis source code is available on svn repository : https://code.google.com/p/maratis/source/checkout<br>
+
Maratis source code is available from the subversion repository at [https://code.google.com/p/maratis/source/checkout Google Code].
You can use an svn client or a command line : "svn checkout http://maratis.googlecode.com/svn/"
+
  
=Building Maratis for desktop computer=
+
Use this command to anonymously check out the latest project source code:
  
The current version of the build system uses Scons and Python to produce binaries for Windows, OSX and Linux,<br>
+
  svn checkout http://maratis.googlecode.com/svn/ maratis-read-only
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...)
+
  
At the end of the build, if successful, the final binaries will be installed into the ''''prod'''' directory :<br>
+
==Building on Windows, Mac and Linux==
'''ManualUse, MaratisEditor, MaratisPlayer, MCore, MEngine'''
+
  
=Building a project for iOS=
+
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.
  
Open '''"branches/iPhonePublishing/Project/example.xcodeproj"''' with xcode<br>
+
Go to '''''trunk/dev''''' and type:
Import you own game project with all the data in the "Resources" group folder<br>
+
 
If necessary, import your c++ game plugin code, and call it in "EAGLView.mm"<br>
+
  python scons.py
Build and run
+
 
 +
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