Building Maratis

(Difference between revisions)
Jump to: navigation, search
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 Scons and Python to produce binaries for Windows, OSX and Linux, consequently, please visit (and install if necessary) Python before continuing.
  
Open '''"branches/iPhonePublishing/Project/example.xcodeproj"''' with xcode<br>
+
Go to the ''trunk/dev'' folder 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
+
 
 +
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''' and '''MEngine'''
 +
 
 +
==Building for iOS==
 +
 
 +
# Open ''branches/iPhonePublishing/Project/example.xcodeproj'' with Xcode.
 +
# Import you own game project with all the data in the "Resources" group folder
 +
#If necessary, import your C++ game plugin code, and call it in "EAGLView.mm"
 +
#Build and run
  
 
[[Category:Building]]
 
[[Category:Building]]

Revision as of 02:27, 5 February 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 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 and MEngine

Building for iOS

  1. Open branches/iPhonePublishing/Project/example.xcodeproj with Xcode.
  2. Import you own game project with all the data in the "Resources" group folder
  3. If necessary, import your C++ game plugin code, and call it in "EAGLView.mm"
  4. Build and run
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox