chrismessina / micropolis

Automatically exported from code.google.com/p/micropolis
0 stars 0 forks source link

Rework the MicropolisCore build system #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The makefiles are old and out of date. 
The build system needs to be modernized and rationalized.

It should support multiple platforms (Linux and MacOS -- but not Windows
since that's build with Visual Studio). 

It might be nice to put the code into XCode on the Mac, but right now it's
simply compiled with the same makesfiles that Linux uses. 

It should probably use the Python extension setup.py system to compile and
install Python extensions (or at least I think it should -- there may be
reasons to do it differently). 

There should be a way to build it without SWIG being installed. So "make
clean" should not delete the files generated by SWIG, but there can be an
option or another "cleanswig" target that also cleans out the SWIG stuff to
force it to be regenerated. 
Note that the SWIG generated files are checked into subversion, to make it
possible for people who don't have SWIG installed to build the code.
SWIG is only required if you're actually changing the interfaces it's
wrapping. 

There should be a way to package and install an application and a
distribution file or installer on each of the platforms supported (Linux,
MacOS, Windows). 

There is not currently any special support for packaging MicropolisCore as
an OLPC activity (that should be another issue), but when there is, the
makefiles should be able to generate it, and package a distribution file. 

Original issue reported on code.google.com by simhac...@gmail.com on 1 Apr 2008 at 9:31

GoogleCodeExporter commented 9 years ago
done, because of java build.

Original comment by rs98...@gmail.com on 24 Apr 2013 at 10:16