| commit | 97b4008aa788116683bb752d7c79b44128c2c485 | [log] [tgz] |
|---|---|---|
| author | Martin Boye Petersen <martinboyepetersen@hotmail.com> | Sat Jan 02 21:20:00 2021 +0100 |
| committer | Martin Boye Petersen <martinboyepetersen@hotmail.com> | Sat Jan 02 21:20:00 2021 +0100 |
| tree | b279ae0ab6461610a4540427fa61e9df49cf1735 | |
| parent | fb824d27b39e10acb97f9b105df2d9485a4677e9 [diff] |
disk_interface: Improve the stat cache handling for case sensitive folders on Windows The path used as argument to FindFirstFileExA is no longer being converted to lowercase. By not converting the path to lower case, case sensitive folders will now be handled correctly. Case insensitive folders still works as expected because casing doesn't matter on those. All entries in the stat cache remains lowercase to avoid potential cache misses.
Ninja is a small build system with a focus on speed. https://ninja-build.org/
See the manual or doc/manual.asciidoc included in the distribution for background and more details.
Binaries for Linux, Mac, and Windows are available at GitHub. Run ./ninja -h for Ninja help.
Installation is not necessary because the only required file is the resulting ninja binary. However, to enable features like Bash completion and Emacs and Vim editing modes, some files in misc/ must be copied to appropriate locations.
If you're interested in making changes to Ninja, read CONTRIBUTING.md first.
You can either build Ninja via the custom generator script written in Python or via CMake. For more details see the wiki.
./configure.py --bootstrap
This will generate the ninja binary and a build.ninja file you can now use to build Ninja with itself.
cmake -Bbuild-cmake -H. cmake --build build-cmake
The ninja binary will now be inside the build-cmake directory (you can choose any other name you like).
To run the unit tests:
./build-cmake/ninja_test