[cmake-developers] [CMake 0013040]: CMakeCache.txt gets killed (zeroed, deleted, data loss data corruption) on out of disk space situation

2012-03-14 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.itk.org/Bug/view.php?id=13040 == Reported By:Andreas Mohr Assigned To:

Re: [cmake-developers] new ninja rebuild too much issue

2012-03-14 Thread Nicolas Desprès
On Wed, Mar 14, 2012 at 12:22 AM, Bill Hoffman bill.hoff...@kitware.com wrote: It seems that if the CMakeCache.txt changes, and cmake re-runs, ninja rebuilds almost ever single .obj file.  For example, if I turn on and off CMAKE_ENABLE_NINJA,   Then it rebuilds all the .obj files instead of

Re: [cmake-developers] new ninja rebuild too much issue

2012-03-14 Thread Bill Hoffman
On 3/14/2012 7:34 AM, Nicolas Desprès wrote: Nope if you like in the generated build.ninja build.ninja appears only once as an output using the RERUN_CMAKE rule. I rather think it is a bug in ninja of the restat implementation. What is the way to debug this? Can you get ninja to tell you why

Re: [cmake-developers] ninja bug on windows

2012-03-14 Thread Bill Hoffman
On 3/13/2012 10:39 PM, Peter Collingbourne wrote: Maybe another time we can think about ways to improve PCH support, but for now I guess we can add an OR Ninja to this test and add OBJECT_OUTPUTS support to the Ninja generator. I tried making that blog active for ninja and a I get a new error:

[cmake-developers] Ninja rebuild_cache fails with spaces in the path (windows and linux)

2012-03-14 Thread Bill Hoffman
$ ninja rebuild_cache [1/1] Running CMake to regenerate build system... FAILED: cmd.exe /c cd C:\Users\hoffman\Work\My Builds\cmake-ninja C:\Users\hoffman\Work\My Builds\cmake-gmake\bin\cmake.exe -HC:/Users/hoffman/Work/My Builds/cmake -BC:/Users/hoffman/Work/My Builds/cmake-ninja CMake

Re: [cmake-developers] ninja bug on windows

2012-03-14 Thread Peter Collingbourne
On Wed, Mar 14, 2012 at 10:52:22AM -0400, Bill Hoffman wrote: On 3/13/2012 10:39 PM, Peter Collingbourne wrote: Maybe another time we can think about ways to improve PCH support, but for now I guess we can add an OR Ninja to this test and add OBJECT_OUTPUTS support to the Ninja generator. I

[cmake-developers] [CMake 0013042]: UseSWIG.cmake: subdirectory for generated files is not created

2012-03-14 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=13042 == Reported By:Bjoern Thiel Assigned To:

Re: [cmake-developers] new ninja rebuild too much issue

2012-03-14 Thread Peter Collingbourne
On Wed, Mar 14, 2012 at 10:45:39AM -0400, Bill Hoffman wrote: On 3/14/2012 7:34 AM, Nicolas Desprès wrote: Nope if you like in the generated build.ninja build.ninja appears only once as an output using the RERUN_CMAKE rule. I rather think it is a bug in ninja of the restat implementation.

Re: [cmake-developers] new ninja rebuild too much issue

2012-03-14 Thread Nicolas Desprès
On Wed, Mar 14, 2012 at 6:10 PM, Peter Collingbourne pe...@pcc.me.uk wrote: On Wed, Mar 14, 2012 at 10:45:39AM -0400, Bill Hoffman wrote: On 3/14/2012 7:34 AM, Nicolas Desprčs wrote: Nope if you like in the generated build.ninja build.ninja appears only once as an output using the RERUN_CMAKE

Re: [cmake-developers] Ninja Issues with dependencies

2012-03-14 Thread Nicolas Desprès
Try with this branch: https://github.com/polrop/ninja/tree/depfile-parser-accept-tilde I think that should fix your problem. On Wed, Mar 14, 2012 at 7:58 PM, Chuck Atkins chuck.atk...@kitware.com wrote: Just to clarify with more information: cmake: d2d492f492a8a6082345e439a9c15418f0d483db -

Re: [cmake-developers] Ninja Issues with dependencies

2012-03-14 Thread Chuck Atkins
Yep. That fixed it. Thanks! Chuck Atkins RD Engineer, Kitware, Inc. -- Mathematicians are tools for turning coffee grounds into formulas., Paul Erdos 2012/3/14 Nicolas Desprès nicolas.desp...@gmail.com Try with this branch: https://github.com/polrop/ninja/tree/depfile-parser-accept-tilde

Re: [cmake-developers] new ninja rebuild too much issue

2012-03-14 Thread Bill Hoffman
On 3/14/2012 1:42 PM, Nicolas Desprès wrote: $ ../_build/bin/cmake -DCMAKE_ENABLE_NINJA=OFF . $ ../_build/bin/cmake -DCMAKE_ENABLE_NINJA=ON . $ ninja ninja: no work to do. $ ../_build/bin/cmake -DCMAKE_ENABLE_NINJA=OFF . $ ninja [...compile 200 outputs...] Duh, of course, my bad. It is the