summaryrefslogtreecommitdiffstats
path: root/HACKING
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2011-12-20 19:38:56 (GMT)
committerEvan Martin <martine@danga.com>2011-12-20 19:38:56 (GMT)
commit9bf145d98746d60d7d757ab6a8bc0c016d9c4360 (patch)
treeef87968fcd10ccb109fac31d981e872e86d2f2ac /HACKING
parenta3ace781e54b0c29322f5578d9de41efb05bb484 (diff)
downloadNinja-9bf145d98746d60d7d757ab6a8bc0c016d9c4360.zip
Ninja-9bf145d98746d60d7d757ab6a8bc0c016d9c4360.tar.gz
Ninja-9bf145d98746d60d7d757ab6a8bc0c016d9c4360.tar.bz2
inline gtest to simplify windows build
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING8
1 files changed, 2 insertions, 6 deletions
diff --git a/HACKING b/HACKING
index b49b857..ca16e24 100644
--- a/HACKING
+++ b/HACKING
@@ -43,14 +43,10 @@ Generating the manual:
./ninja manual
Windows development on Linux (this is kind of hacky right now):
+- Get the gtest source, unpack it into your source dir
- sudo apt-get install gcc-mingw32 wine
- export CC=i586-mingw32msvc-cc CXX=i586-mingw32msvc-c++ AR=i586-mingw32msvc-ar
-- ./configure.py --platform=mingw --host=linux
-- Build gtest:
- - unpack it into your source dir
- - ./configure
- - to work around missing _TlsAlloc I had to hack the libtool script to
- append -lmingw32 -lkernel32 at the *end* of the link line
+- ./configure.py --platform=mingw --host=linux --with-gtest=gtest-1.6.0
- Build ninja: /path/to/linux/ninja
- Run: ./ninja.exe (implicitly runs through wine(!))