Difference between revisions of "MG/Development"

From MegaGlest
Jump to navigation Jump to search
(4 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
http://sourceforge.net/projects/megaglest/files/ (change into the megaglest_x.y.z directory)
 
http://sourceforge.net/projects/megaglest/files/ (change into the megaglest_x.y.z directory)
  
Sourceforge also hosts the MegaGlest subversion repository, this is where the source code is kept. More about this below.
+
Github hosts the MegaGlest GIT repository, this is where the source code is kept. More about this below.
  
==Accessing subversion==
+
==Accessing GIT==
 
* [[MG/Getting The Code|Getting The Code]]
 
* [[MG/Getting The Code|Getting The Code]]
* [[MG/SVN Structure|SVN Structure]]
+
* [[MG/Project Structure|Project Structure]]
  
 
== Compiling==
 
== Compiling==
Line 24: Line 24:
 
Installers make it easy for people to get the software setup on their computers, so when the MegaGlest team makes a new stable release, they also prepare/build [[MG/Installers|Installers]]. As of v3.5.1 megaglest's build system support 'make install' style installation on Linux based platforms. The following is an example of how to do this in Ubuntu:
 
Installers make it easy for people to get the software setup on their computers, so when the MegaGlest team makes a new stable release, they also prepare/build [[MG/Installers|Installers]]. As of v3.5.1 megaglest's build system support 'make install' style installation on Linux based platforms. The following is an example of how to do this in Ubuntu:
  
  cd trunk
+
  cd mk/linux
 
  mkdir build
 
  mkdir build
 
  cd build
 
  cd build
  cmake ..
+
  cmake ../../..
 
  make -j 3
 
  make -j 3
 
  sudo make install
 
  sudo make install
Line 41: Line 41:
  
 
==See Also==
 
==See Also==
 +
*[[MG/Snapshots]]
 
*[[MegaGlest]]
 
*[[MegaGlest]]
 
[[Category:MG]]
 
[[Category:MG]]

Revision as of 10:45, 29 November 2014

For people who would like to work on MegaGlest, the MegaGlest team has tried to work hard to make things as easy for the users as possible. Below is a list of links to try to assist anyone who is interested in helping with development or just to learn for your own enjoyment.

MegaGlest is hosted at sourceforge.net: http://sourceforge.net/projects/megaglest/

You can download the full and ready-to-use versions from here (source/data/binaries):

http://sourceforge.net/projects/megaglest/files/ (change into the megaglest_x.y.z directory)

Github hosts the MegaGlest GIT repository, this is where the source code is kept. More about this below.

Accessing GIT

Compiling

Installers

Installers make it easy for people to get the software setup on their computers, so when the MegaGlest team makes a new stable release, they also prepare/build Installers. As of v3.5.1 megaglest's build system support 'make install' style installation on Linux based platforms. The following is an example of how to do this in Ubuntu:

cd mk/linux
mkdir build
cd build
cmake ../../..
make -j 3
sudo make install
megaglest

Testing

Once a new revision is successfully compiled, newly added features need extensive testing so that a stable and working version is shipped.

Testing the game menu

If there are problems with the game related to the game menu, edit source/shared_lib/include/platform/sdl/thread.h and uncomment the following line (remove the leading double slash) before recompiling.

//#define DEBUG_MUTEXES

See Also