Hello all

I'm working on creating a new build system called Meson (
https://jpakkane.github.io/meson/). To make sure it can handle the
requirements of real projects I take random open source projects (usually
large and complex) and rewrite their build systems in Meson.

For Firefox I tried to see how much effort it would take to configure and
build nspr including unit tests. After a few hours work I got it working on
64bit Linux. It took about 1000 lines of code (~750 of which go to defining
unit tests). Most unit tests even run successfully. :)

If you want to try it yourself, just get Meson and Mozilla from head and
then download and extract this file in your source tree:

https://dl.dropboxusercontent.com/u/37517477/mozilla-meson.tar.gz

To configure and build just do this:

mkdir buildmeson
/path/to/meson.py ..
ninja
ninja test (note that since some tests freeze it currently looks like
nothing is happening)

That's about it. This is obviously not in any way a replacement for the
current build system (which would be a huge task, yes I read the wiki :-)
but I hope you find it interesting, even if only from a curiosity point of
view.

Thanks,
_______________________________________________
dev-builds mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-builds

Reply via email to