| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\
| |
| | |
Improve error messages when ninja commands fail on Windows.
|
| |
| |
| |
| |
| |
| |
| |
| | |
When a call to the Win32 API CreateProcessA fails, ninja
now outputs the exact command string that caused it to fail.
It also detects when the command contained leading whitespace
and outputs a hint that lets the user know why the command
failed.
|
|\ \
| | |
| | | |
Replace references to README with README.md
|
|/ /
| |
| |
| |
| | |
The README file was renamed to README.md in commit
a37da20ae74c81703b1c811182fc154d95ed46fe.
|
|\ \
| | |
| | | |
CMake: modernize
|
| | | |
|
|/ /
| |
| |
| |
| | |
cmake_minimum_required(VERSION 3.15) implicitly sets to NEW all
policies from CMP0094 and older
|
|\ \
| | |
| | | |
browse.py: use html.escape for python3
|
| | |
| | |
| | |
| | |
| | | |
fixes #1741
fixes #1736
|
|\ \ \
| |/ /
|/| | |
CI: update CMake use
|
| | | |
|
|/ / |
|
|\ \
| | |
| | | |
Add install target to CMake build
|
|/ / |
|
|\ \
| | |
| | | |
fix typo
|
|/ / |
|
| | |
|
| |
| |
| |
| | |
See https://github.com/ninja-build/ninja/pull/1438#issuecomment-483353542
|
|\ \
| | |
| | | |
manual: remove "manifest" reference from the manual
|
|/ /
| |
| |
| | |
Nothing else describes what a "manifest" is in user-facing docs.
|
| | |
|
|\ \
| | |
| | | |
Recommend MD over MMD for header dependencies.
|
| | |
| | |
| | | |
The MMD flag will silently omit includes found through pointy brackets or system include paths. This can lead to issues not only when system headers change, but any paths included through the isystem flag. Because the isystem flag implicitly turns off warnings as errors it has often come to be used as a "not my code" flag used with local third party dependencies which may be frequently updated or changed for debugging. As a result, it is far safer to default to MD (which includes all include dependencies) in this example.
|
| | | |
|
|\ \ \
| | | |
| | | | |
CMake: Use static MSVC runtime, fixes #1692
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Somehow `$(find ./build -name ninja -or -name ninja.exe)` stopped
working on Windows.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This results in a huge speed up for large builds (e.g. Chromium). See
#1718.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This will become handy when the generator only wants to restat the
build.ninja entry in the log. See #1718.
|
|\ \ \ \
| |/ / /
|/| | | |
Use short CONTRIBUTING.md instead of HACKING.md
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Only the most important parts and some new guidelines in
CONTRIBUTING.md.
* Complete HACKING.md content moved to the GitHub wiki:
https://github.com/ninja-build/ninja/wiki
* README is now also Markdown formatted.
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
GitHub Actions: Use CentOS 7 for Linux, fix #1533
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Build performance tests with CMake. Fixes #1708
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
They are only built and not run with CTest
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Adding a tool to remove dead outputs.
|
| |\ \ \ \ \
| |/ / / / /
|/| | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
manifest_parser: remove multi-output depslog restriction
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This ensures the current behavior of rejecting this case due to `x`
being reused as an input.
|
| | | | | | | |
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Add restat tool which recalculates all mtimes in the build log
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
The conditional `(!n || !n->in_edge()) && ` was moved up. It now needs
to be inversed because there's a `return false;`. See
https://github.com/ninja-build/ninja/commit/3beebde51a2089ecb01820f1428efe0263deaeea#diff-78294872cbf9d32f4f972288561fa718R146
and
https://github.com/ninja-build/ninja/pull/1432#discussion_r321827528
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Quoting from the Linux man page for errno,
"The value in errno is significant only when the return value of the call
indicated an error (i.e., -1 from most system calls; -1 or NULL from most
library functions); a function that succeeds is allowed to change errno. The
value of errno is never set to zero by any system call or library function."
Successful calls to getcwd are allowed to set errno causing the compilation
database not to be written. Spurious failures of this nature were observed on
AIX.
Adjust the error handling for getcwd so that errno is only checked if the call
returned NULL.
|
| | | | | | | |
|