better warnings for invalid commandline arguments
un-recognized command line arguments are now ignored, leaving to pointless builds and losts of wasted time hunting down that one wrong character.
Example:
–DRelease
in stead of -DRelease
(the first is ascii 0x96, the second is the correct 'minus' (0x2d)
If you specify an incorrect build target on ninja, you get a very nice message, for example:
ninja: error: unknown target 'CsGui1.6', did you mean 'CsGui'?
can we have a similar message like cmake: error: unknown argument '–DRelease', did you mean '-DRelease' ?
Edited by Brad King