Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add NOMINMAX macro to fix a compilation error on Win32 | Petr Wolf | 2012-03-16 | 1 | -1/+1 |
| | |||||
* | drop rtti via -fno-rtti; we don't use it | Evan Martin | 2012-03-06 | 1 | -0/+1 |
| | |||||
* | Fixes the build on OpenIndiana | Clint Moore | 2012-02-07 | 1 | -0/+2 |
| | |||||
* | windows: Disable warning C4819 | okuoku | 2012-02-03 | 1 | -1/+1 |
| | | | | | warning C4819: The file contains a character that cannot be represented in the current code page. | ||||
* | windows: use _WIN32 define everywhere | Evan Martin | 2012-01-22 | 1 | -1/+1 |
| | | | | Rather than mixing use of WIN32 and _WIN32. | ||||
* | windows: always generate PDB | Scott Graham | 2012-01-14 | 1 | -4/+5 |
| | |||||
* | enable libstd++ debugging in debug mode | Evan Martin | 2012-01-13 | 1 | -1/+3 |
| | |||||
* | windows: make ninja_test build | Frances Buontempo | 2012-01-13 | 1 | -1/+3 |
| | |||||
* | build gtest with -fvisibility=hidden as well | Evan Martin | 2012-01-12 | 1 | -2/+3 |
| | | | | Fixes a warning on Mac. | ||||
* | add a '-d stats' flag for detailed timings | Evan Martin | 2012-01-05 | 1 | -0/+1 |
| | | | | | | 1) Add a system for recording detailed timing info of functions. 2) Add a -d flag for requesting debug info at runtime, with the above as the first user. | ||||
* | warn on accidental args to configure | Evan Martin | 2012-01-05 | 1 | -0/+3 |
| | |||||
* | windows: more build fixes | Scott Graham | 2012-01-04 | 1 | -1/+1 |
| | |||||
* | windows: make bootstrap.py/configure.py work with MSVC | Scott Graham | 2012-01-04 | 1 | -30/+75 |
| | |||||
* | switch the core ninja parser to use re2c for the lexer | Evan Martin | 2011-12-29 | 1 | -3/+5 |
| | | | | | | | | | - Delete the old "Tokenizer" code. - Write separate tests for the lexer distinct from the parser. - Switch the parser to use the new code. - New lexer error output has file:line numbers so e.g. Emacs can jump your editor to the syntax error. - The EvalEnv ($-interpolation) code is now part of the lexer as well. | ||||
* | add an "all" target to build all binaries | Evan Martin | 2011-12-28 | 1 | -5/+14 |
| | |||||
* | Merge branch 'master' of git://github.com/ehird/ninja | Evan Martin | 2011-12-27 | 1 | -2/+6 |
|\ | |||||
| * | Support non-standard Python executable names | Elliott Hird | 2011-12-14 | 1 | -2/+6 |
| | | | | | | | | Closes #154. | ||||
* | | Put the list of core source files in alphabetical order. | Thiago Farina | 2011-12-20 | 1 | -3/+12 |
| | | | | | | | | Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | | inline gtest to simplify windows build | Evan Martin | 2011-12-20 | 1 | -16/+23 |
| | | |||||
* | | fix mingw cross-compile | Evan Martin | 2011-12-20 | 1 | -2/+6 |
| | | |||||
* | | handle backslashes and isolated colons in depfile parser | Evan Martin | 2011-12-19 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | The logic was wrong if the input looked like foo : bar baz with a space before the colon. Test from Frances <frances.buontempo@gmail.com>. | ||||
* | | split out depfile parser tests into new file | Evan Martin | 2011-12-19 | 1 | -0/+1 |
|/ | |||||
* | use re2c to parse depfiles | Evan Martin | 2011-12-07 | 1 | -1/+9 |
| | |||||
* | merge StatCache into State | Evan Martin | 2011-12-07 | 1 | -1/+1 |
| | | | | | | I think I had originally imagined StatCache would contain more state, but at this point it's clear it was just managing a single map, which could just as well be in the already-small State object. | ||||
* | more whitespace in build output | Evan Martin | 2011-12-05 | 1 | -0/+1 |
| | |||||
* | disable the 'unused parameter' warning | Evan Martin | 2011-12-05 | 1 | -1/+4 |
| | | | | It was firing too often, and hadn't uncovered any bugs. | ||||
* | Merge pull request #150 from luislavena/mingw-no-visibility | Evan Martin | 2011-12-05 | 1 | -0/+1 |
|\ | | | | | visibility=hidden should not be used for Windows | ||||
| * | visibility=hidden should not be used for Windows | Luis Lavena | 2011-12-05 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | While GCC 4.x supports the usage of -fvisibility=hidden and the related pragmas, usage of it under MinGW is a noop and should not be used. Instead, __declspec(dllexport/dllimport) should be used instead to indicate exportable functions. Since Ninja builds a static library, no functions are exported and visibility, at least under MinGW, is not an issue. | ||||
* | | Use g++'s -static option instead of specific libs | Luis Lavena | 2011-12-05 | 1 | -1/+1 |
|/ | | | | | | | | MinGW g++ recognizes -static as option to avoid the need to specify individual libraries to be statically linked into the executable. It also solves the warning of -static-libstdc++ not being recorgnized by GCC 4.5.2 (TDM build) | ||||
* | configure.py: windows updates | Evan Martin | 2011-12-02 | 1 | -25/+28 |
| | | | | | - Drop unused 'windows' platform - Make 'mingw' platform actually work on mingw-on-Windows. | ||||
* | Revert "Merge pull request #143 from cipriancraciun/patches/python2" | Evan Martin | 2011-11-25 | 1 | -1/+1 |
| | | | | | | | This reverts commit 38ab41f45ff818b437942b753328a0168914fc86, reversing changes made to 819d6347b424f583d651b86dd1280605ddb23b88. Platforms that don't have /usr/bin/python pointing to python2 are broken. | ||||
* | Fixed Python 2 scripts prologue (i.e. `#!/usr/bin/env python2`). | Ciprian Dorin, Craciun | 2011-11-22 | 1 | -1/+1 |
| | |||||
* | Add -Wextra warning flag. | Nicolas Despres | 2011-11-19 | 1 | -1/+1 |
| | | | | | | | Fix triggered warnings: - unused parameter - type qualifiers ignored on function return type - missing initializer for member | ||||
* | Fix duplicated list of profilers. | Nicolas Despres | 2011-11-19 | 1 | -1/+1 |
| | |||||
* | fix TODO: correct dependencies for inline.sh | Evan Martin | 2011-11-13 | 1 | -4/+2 |
| | | | | | | Not sure why I just didn't write this right the first time; when running a script for its output, the script is always an implicit input of the output. | ||||
* | Add a EditDistance() function based on the one in ↵ | Nico Weber | 2011-11-13 | 1 | -2/+4 |
| | | | | llvm/lib/Support/StringRef.cpp. | ||||
* | Implement generator rules | Peter Collingbourne | 2011-10-15 | 1 | -1/+2 |
| | | | | | | | | | | | | | Introduce a rule attribute "generator" which, if present, specifies that this rule is used to re-invoke the generator program. Files built using generator rules are treated specially in two ways: firstly, they will not be rebuilt if the command line changes; and secondly, they are not cleaned by default. A command line flag "-g" is introduced for the clean tool, which causes it to remove generator files. Fixes issue #102. | ||||
* | Disable assertion checks unless --debug is enabled | Peter Collingbourne | 2011-09-24 | 1 | -1/+1 |
| | |||||
* | delete .a files before adding to them with ar | Evan Martin | 2011-09-14 | 1 | -1/+1 |
| | | | | | | | ar doesn't have a mode to just rebuild the file from scratch, so delete it manually. Fixes issue #105. | ||||
* | Split ninja_test.cc into state_test.cc and disk_interface_test.cc | Thiago Farina | 2011-09-11 | 1 | -3/+11 |
| | | | | Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | link gtest code with -lpthread | Evan Martin | 2011-09-09 | 1 | -1/+1 |
| | | | | I broke this in a refactoring. | ||||
* | Move EvalString tests to eval_env_test.cc | Thiago Farina | 2011-09-09 | 1 | -2/+2 |
| | | | | Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | Merge branch 'master' of github.com:martine/ninja | Evan Martin | 2011-09-08 | 1 | -3/+3 |
|\ | | | | | | | | | Conflicts: configure.py | ||||
| * | Merge pull request #96 from tfarina/disk-interface-test | Evan Martin | 2011-09-07 | 1 | -3/+3 |
| |\ | | | | | | | Move DiskInterfaceTest into its own source file. | ||||
| | * | Move DiskInterfaceTest into its own source file. | Thiago Farina | 2011-09-07 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | TEST=ninja_test --gtest_filter=DiskInterface* Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | | | allow --with-gtest flag to use unpacked gtest dir | Evan Martin | 2011-09-07 | 1 | -9/+26 |
|/ / | | | | | | | Useful for building on Macs. | ||||
* | | preserve configure.py params across re-runs | Evan Martin | 2011-09-06 | 1 | -1/+4 |
| | | |||||
* | | build only the main binary by default | Evan Martin | 2011-09-06 | 1 | -0/+4 |
| | | |||||
* | | make --profile take an argument to use either gmon or google-pprof | Evan Martin | 2011-09-06 | 1 | -3/+7 |
|/ | |||||
* | Factor out State struct from ninja_jumble.cc into its header/source files. | Thiago Farina | 2011-09-03 | 1 | -2/+1 |
| | | | | | | This was a TODO in src/ninja_jumble.cc. Now this task is completed. Signed-off-by: Thiago Farina <tfarina@chromium.org> |