summaryrefslogtreecommitdiffstats
path: root/configure.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #259 from usovalx/distcc_depfile_fixEvan Martin2012-04-051-1/+1
|\ | | | | Explicitly specify target name for gcc depfiles
| * Explicitly specify target name for gcc depfilesOleksandr Usov2012-03-231-1/+1
| |
* | Add NOMINMAX macro to fix a compilation error on Win32Petr Wolf2012-03-161-1/+1
|/
* drop rtti via -fno-rtti; we don't use itEvan Martin2012-03-061-0/+1
|
* Fixes the build on OpenIndianaClint Moore2012-02-071-0/+2
|
* windows: Disable warning C4819okuoku2012-02-031-1/+1
| | | | | warning C4819: The file contains a character that cannot be represented in the current code page.
* windows: use _WIN32 define everywhereEvan Martin2012-01-221-1/+1
| | | | Rather than mixing use of WIN32 and _WIN32.
* windows: always generate PDBScott Graham2012-01-141-4/+5
|
* enable libstd++ debugging in debug modeEvan Martin2012-01-131-1/+3
|
* windows: make ninja_test buildFrances Buontempo2012-01-131-1/+3
|
* build gtest with -fvisibility=hidden as wellEvan Martin2012-01-121-2/+3
| | | | Fixes a warning on Mac.
* add a '-d stats' flag for detailed timingsEvan Martin2012-01-051-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 configureEvan Martin2012-01-051-0/+3
|
* windows: more build fixesScott Graham2012-01-041-1/+1
|
* windows: make bootstrap.py/configure.py work with MSVCScott Graham2012-01-041-30/+75
|
* switch the core ninja parser to use re2c for the lexerEvan Martin2011-12-291-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 binariesEvan Martin2011-12-281-5/+14
|
* Merge branch 'master' of git://github.com/ehird/ninjaEvan Martin2011-12-271-2/+6
|\
| * Support non-standard Python executable namesElliott Hird2011-12-141-2/+6
| | | | | | | | Closes #154.
* | Put the list of core source files in alphabetical order.Thiago Farina2011-12-201-3/+12
| | | | | | | | Signed-off-by: Thiago Farina <tfarina@chromium.org>
* | inline gtest to simplify windows buildEvan Martin2011-12-201-16/+23
| |
* | fix mingw cross-compileEvan Martin2011-12-201-2/+6
| |
* | handle backslashes and isolated colons in depfile parserEvan Martin2011-12-191-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 fileEvan Martin2011-12-191-0/+1
|/
* use re2c to parse depfilesEvan Martin2011-12-071-1/+9
|
* merge StatCache into StateEvan Martin2011-12-071-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 outputEvan Martin2011-12-051-0/+1
|
* disable the 'unused parameter' warningEvan Martin2011-12-051-1/+4
| | | | It was firing too often, and hadn't uncovered any bugs.
* Merge pull request #150 from luislavena/mingw-no-visibilityEvan Martin2011-12-051-0/+1
|\ | | | | visibility=hidden should not be used for Windows
| * visibility=hidden should not be used for WindowsLuis Lavena2011-12-051-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 libsLuis Lavena2011-12-051-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 updatesEvan Martin2011-12-021-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 Martin2011-11-251-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, Craciun2011-11-221-1/+1
|
* Add -Wextra warning flag.Nicolas Despres2011-11-191-1/+1
| | | | | | | Fix triggered warnings: - unused parameter - type qualifiers ignored on function return type - missing initializer for member
* Fix duplicated list of profilers.Nicolas Despres2011-11-191-1/+1
|
* fix TODO: correct dependencies for inline.shEvan Martin2011-11-131-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 Weber2011-11-131-2/+4
| | | | llvm/lib/Support/StringRef.cpp.
* Implement generator rulesPeter Collingbourne2011-10-151-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 enabledPeter Collingbourne2011-09-241-1/+1
|
* delete .a files before adding to them with arEvan Martin2011-09-141-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.ccThiago Farina2011-09-111-3/+11
| | | | Signed-off-by: Thiago Farina <tfarina@chromium.org>
* link gtest code with -lpthreadEvan Martin2011-09-091-1/+1
| | | | I broke this in a refactoring.
* Move EvalString tests to eval_env_test.ccThiago Farina2011-09-091-2/+2
| | | | Signed-off-by: Thiago Farina <tfarina@chromium.org>
* Merge branch 'master' of github.com:martine/ninjaEvan Martin2011-09-081-3/+3
|\ | | | | | | | | Conflicts: configure.py
| * Merge pull request #96 from tfarina/disk-interface-testEvan Martin2011-09-071-3/+3
| |\ | | | | | | Move DiskInterfaceTest into its own source file.
| | * Move DiskInterfaceTest into its own source file.Thiago Farina2011-09-071-3/+3
| | | | | | | | | | | | | | | | | | TEST=ninja_test --gtest_filter=DiskInterface* Signed-off-by: Thiago Farina <tfarina@chromium.org>
* | | allow --with-gtest flag to use unpacked gtest dirEvan Martin2011-09-071-9/+26
|/ / | | | | | | Useful for building on Macs.
* | preserve configure.py params across re-runsEvan Martin2011-09-061-1/+4
| |
* | build only the main binary by defaultEvan Martin2011-09-061-0/+4
| |