[cmake-developers] ninja spaces in the path do not work on linux

Peter Collingbourne peter at pcc.me.uk
Sun Feb 19 01:02:35 EST 2012


On Fri, Feb 17, 2012 at 09:16:31PM +0100, Nicolas Desprès wrote:
> 2012/2/17 Bill Hoffman <bill.hoffman at kitware.com>
> 
> > On 2/17/2012 12:26 PM, Nicolas Desprès wrote:
> >
> >>
> >> I think it is a bug in the generator which do not escape the space
> >> properly using the $ character as supported by Ninja.
> >>
> >> --
> >> Nicolas Desprès
> >>
> >>  Will you be able to fix that?
> >
> 
> I think yes. It is just a matter of time. My weekend is already overloaded.
> I'll try to do it. If Peter or someone else in the community comes up with
> a patch before me everybody would be happy :-)

I decided to look into escaping rules this weekend.  Now with the
code on the ninja-generator branch, CMake can build itself with both
source and build directories containing spaces, and pass all tests.
LLVM/Clang can also build with both directory names containing spaces.

Thanks,
-- 
Peter



More information about the cmake-developers mailing list