summaryrefslogtreecommitdiffstats
path: root/HACKING
diff options
context:
space:
mode:
authorElliott Hird <penguinofthegods@gmail.com>2011-12-15 14:52:22 (GMT)
committerElliott Hird <penguinofthegods@gmail.com>2011-12-15 19:34:49 (GMT)
commit075847031b6cf7b9de3bb7c42648a74d168a752b (patch)
treea28a6887fc3b9942acc90e1368149fde51065c18 /HACKING
parent121f36d59f293263b9a27d01a8112de17978c5d1 (diff)
downloadNinja-075847031b6cf7b9de3bb7c42648a74d168a752b.zip
Ninja-075847031b6cf7b9de3bb7c42648a74d168a752b.tar.gz
Ninja-075847031b6cf7b9de3bb7c42648a74d168a752b.tar.bz2
Rewrite the bootstrap script in Python
This allows trouble-free builds on platforms with non-standard Python executable names. As a bonus, it passes the arguments received on to configure.py, so you don't have to reconfigure to build in a non-standard manner.
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING4
1 files changed, 2 insertions, 2 deletions
diff --git a/HACKING b/HACKING
index dcd5888..f8545e5 100644
--- a/HACKING
+++ b/HACKING
@@ -1,5 +1,5 @@
Adjusting build flags:
- CFLAGS=-O3 ./configure
+ CFLAGS=-O3 ./configure.py
and rebuild.
Test-driven development:
@@ -56,7 +56,7 @@ Windows development on Linux (this is kind of hacky right now):
Windows development on Windows:
- install mingw, msys, and python
-- in the mingw shell, put Python in your path, and: sh bootstrap.sh
+- in the mingw shell, put Python in your path, and: python bootstrap.py
- to reconfigure, run 'python configure.py'
- remember to strip the resulting executable if size matters to you
- you'll need to rename ninja.exe into my-ninja.exe during development,