Change History (4)
comment:1 by , 3 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 3 years ago
comment:3 by , 3 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
This release adds Validation Nodes which are a new way to add jobs like linters or static analyzers to the build graph. They are added using
|@
and don't produce any outputs. You can read more about the motivation and the syntax here: https://github.com/ninja-build/ninja/pull/1800Another big change is that Ninja now uses UTF-8 on Windows. This means that while previous versions of Ninja used the local ANSI encoding it will now always use UTF-8 allowing filenames and output with special characters. For this to work you'll need Windows 10 Version 1903 or newer. And for the console output to show Unicode characters you'll need to set the codepage to 65001. More information at: https://github.com/ninja-build/ninja/pull/1915
Note that this is a breaking change if you relied on non-ASCII characters of the local codepage! If you want to query Ninja what codepage it uses in your generator, call
ninja -t wincodepage
and act accordingly.There are also two new tools:
And as it was often requested, ninja now has a
--quiet
flag :)For a complete list of changes see https://github.com/ninja-build/ninja/milestone/3?closed=1