[cmake-developers] ninja bug on windows

Bill Hoffman bill.hoffman at kitware.com
Mon Mar 12 18:05:50 EDT 2012


On 3/12/2012 5:23 PM, Peter Kümmel wrote:
>
> I've fixed this by caching the used temporary file names.
> And I've updated the ninja.exe.

Seems to have gotten better but no perfect....

First time I re-ran ninja it rebuilt:

$ ../ninja/ninja.exe
[1/9] Linking C static library 
Utilities\cmlibarchive\libarchive\cmlibarchive.li[1/9] Linking C static 
library Utilities\cmlibarchive\libarchive\cmlibarchive.li[2/9] Linking 
CXX executable bin\cmake.exe                                      [6/9] 
Linking CXX executable bin\ctest.exe
    Creating library bin\ctest.lib and object bin\ctest.exp
[9/9] Generating ../Docs/cmake.txt

Now it does nothing as expected:
$ ../ninja/ninja.exe
ninja: no work to do.

-rwxr-xr-x+ 1 hoffman Domain Users 137216 Mar 12 18:02 ../ninja/ninja.exe

-Bill






-- 
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoffman at kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573



More information about the cmake-developers mailing list