[CMake] FYI - From Ninja-build mailing list - Fwd: Proposal: restat rules

Peter Collingbourne peter at pcc.me.uk
Tue Sep 13 09:33:00 EDT 2011


On Tue, Sep 13, 2011 at 08:40:32AM -0400, Clifford Yapp wrote:
> On Sun, Sep 11, 2011 at 11:01 PM, Peter Collingbourne <peter at pcc.me.uk>wrote:
> 
> >
> > > It looks like various custom commands aren't running (some tcl related
> > > stuff, docbook documentation generation) - are custom commands currently
> > > supported?
> >
> > Yes, custom commands and targets are supported.  There was a bug (which
> > is now fixed) that caused custom commands not be built by default.  Now
> > all targets except those marked EXCLUDE_FROM_ALL are built by default.
> >
> 
> With latest pull from this weekend, I'm currently getting:
> 
> ninja cmTryCompileExec
> 
>   ninja: error: loading 'build.ninja': line 21, col 9: in 'rules.ninja':
> line
>   38, col 3: unexpected variable 'restat'

Try using this branch of Ninja:

https://github.com/pcc/Ninja/tree/restat

The 'restat' branch is still under development, so this requirement
will go away once 'restat' is merged into the main branch of Ninja.

Thanks,
-- 
Peter


More information about the CMake mailing list