• Peter Kuemmel's avatar
    Ninja: don't use shell when cmake is called directly · 65460860
    Peter Kuemmel authored
    When linking with cmake and vs_link_* the command line
    could be too long for cmd.exe, which needs not to be
    called in this case. (was not cached by a test)
    Introduce rules which don't use the shell and use this
    rule when there are no pre or post step.
    For free we get a small speedup, because cmd is then
    not called.
    Also be more accurate when estimating the
    command line length.
cmLocalNinjaGenerator.h 4.34 KB