| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These changes make it easy to build an amalgamated `ninja.cc` that
can be used to bootstrap ninja with just a working C++ compiler, without
the need for any third-party tools like `cmake` or `python`.
*nix
c++ -O2 src/ninja_amalgamated.cc -o ninja
osx-cross
x86_64-apple-darwin19-c++ -O2 src/one.cc -o ninja
mingw
x86_64-w64-mingw32-c++ -O2 src/ninja_amalgamated.cc -o ninja.exe
msvc
cl.exe /nologo /Ox /GR- src\ninja_amalgamated.cc /out:ninja.exe
|
| |
|
|
|
|
| |
symbols
|
|
|
|
|
|
|
| |
GetFullPathName previously failed silently on long path names resulting
in uninitialized path result.
Signed-off-by: Fredrik Medley <fredrik.medley@autoliv.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This patch improves perfromance of clparser.
* Reduce the number of calling GetFullPathName.
* Use StringPiece for Split and Join.
* Add EqualsCaseInsensitive for StringPiece not to generate new string
instance.
* Add some utility member in StringPiece class.
|
| |
|
| |
|
|
|
|
| |
It seems to me inconsistent to normalize one but not the other.
|
|
(Note from Evan: this is landing Scott's code more or less verbatim
without a lot of analysis; it could maybe be simplified and reduced,
but it's only intended to be used in the MSVC helper so it's fine
to be experimental.)
|