diff options
author | Evan Martin <martine@danga.com> | 2011-12-20 19:38:56 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2011-12-20 19:38:56 (GMT) |
commit | 9bf145d98746d60d7d757ab6a8bc0c016d9c4360 (patch) | |
tree | ef87968fcd10ccb109fac31d981e872e86d2f2ac /HACKING | |
parent | a3ace781e54b0c29322f5578d9de41efb05bb484 (diff) | |
download | Ninja-9bf145d98746d60d7d757ab6a8bc0c016d9c4360.zip Ninja-9bf145d98746d60d7d757ab6a8bc0c016d9c4360.tar.gz Ninja-9bf145d98746d60d7d757ab6a8bc0c016d9c4360.tar.bz2 |
inline gtest to simplify windows build
Diffstat (limited to 'HACKING')
-rw-r--r-- | HACKING | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -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(!)) |