martine/ninja — pull request #883 by sbc100 (2014-12-12 04:11:02+00:00)
Title: configure.py: enable separate build directories

With this change it is now possible to run configure.py
from a separate directory and have build.ninja and all
build projects written there rather than within the source
checkout. This works in a similar way to autoconf-generated
configure scripts.

This allow multiple different build trees to exists
based on a single ninja checkout.

This change was useful when building ninja for NaCl where
we have multiple toolchains that we use to build multiple variants
of the ninja binary.