Building Maratis
(Difference between revisions)
Dahnielson (Talk | contribs) m (moved Build documentation to Building Maratis) |
Dahnielson (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | =Download | + | ==Download source code== |
− | Maratis source code is available | + | Maratis source code is available from the subversion repository at [https://code.google.com/p/maratis/source/checkout 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: | |
− | Import you own game project with all the data in the "Resources" group folder | + | |
− | If necessary, import your | + | 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 01: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
- 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