Re: [cmake-developers] How to handle package Config.cmake files with dependencies ?

2012-03-14 Thread Michael Hertling
On 03/10/2012 02:10 PM, Alexander Neundorf wrote: > Hi, > > ...some comments inline, but the main point comes at the end. > > On Wednesday 07 March 2012, Michael Hertling wrote: >> On 02/27/2012 09:15 PM, Alexander Neundorf wrote: >>> Hi, >>> >>> I think find_package in Config mode might still ne

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 -DCM

Re: [cmake-developers] Ninja Issues with dependencies

2012-03-14 Thread Chuck Atkins
Yep. That fixed it. Thanks! Chuck Atkins R&D Engineer, Kitware, Inc. -- "Mathematicians are tools for turning coffee grounds into formulas.", Paul Erdos 2012/3/14 Nicolas Desprès > Try with this branch: > https://github.com/polrop/ninja/tree/depfile-parser-accept-tilde > I think that should

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 wrote: > Just to clarify with more information: > > cmake: d2d492f492a8a6082345e439a9c15418f0d483db > - This is the head of th

Re: [cmake-developers] Ninja Issues with dependencies

2012-03-14 Thread Chuck Atkins
Just to clarify with more information: cmake: d2d492f492a8a6082345e439a9c15418f0d483db - This is the head of the branch that was merged into next ninja: fdec96f54e92d2990ebf1ba5434b317d3d8ad49d - Tues, Mar. 13 Chuck Atkins R&D Engineer, Kitware, Inc. (518) 371-3971 x603 chuck.atk...@kitware.com

[cmake-developers] Ninja Issues with dependencies

2012-03-14 Thread Chuck Atkins
I'm trying to build a fairly large project (VXL, 4000 make targets) with cmake+Ninja and I'm experiencing some strange issues: 1. I configure the project with 'cmake -G Ninja'. Everything works great. 2. Build the project with 'ninja'. Everything builds just fine (and VERY fast I might add, ni

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 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 rule.

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 implement

[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] 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

[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 CMak

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:

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] new ninja rebuild too much issue

2012-03-14 Thread Nicolas Desprès
On Wed, Mar 14, 2012 at 12:22 AM, Bill Hoffman 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 > relinking just a few ex

[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: =