PhilippeSigaud/Pegged — pull request #2 by alexrp (2012-03-11 16:38:17+00:00)
Title: Add Waf-based build system.

This adds a Waf-based build system. All projects under the Lycus Foundation currently use Waf for building, so we need this in order to use Pegged in a compiler we're starting work on soon.

Features:

* Easy configuration for debug/release and 32-bit/64-bit.
* Build, install, and uninstall support.
* Simple test command to run test.d.
* Packing and distribution-checking commands.

For instance, to build, test, and install Pegged:

$ waf configure --mode=debug --lp64=true
$ waf build
$ waf test
$ waf install

Additionally, to package it:

$ waf dist # Creates source package.
$ waf package # Creates binaries package.

You can also do:

$ waf distcheck

This does the same as `dist` but also tests the packaged sources for good measure.