[cmake-developers] [PATCH 0/3] The CMake Ninja generator.
Nicolas Desprès
nicolas.despres at gmail.com
Fri Nov 18 04:02:54 EST 2011
On Wed, Nov 16, 2011 at 3:05 PM, OKUMURA Yuki <mjt at cltn.org> wrote:
> (Sorry Bill, i repost here..)
>
> 2011/11/16 Bill Hoffman <bill.hoffman at kitware.com>:
> - snip -
> > What type of evolution will Ninja need? I suppose it could use cmake
> > scripts and exectue_process which can do && type things pretty easy.
>
> Why not insert "cmd /c" everywhere? :)
> Anyway, i had tried this in early this month,
>
> https://github.com/okuoku/CMake/commit/db19df03606684f313c9e86b313218feee9cce3f
> but it didn't work well.
>
> I think almost all use of "&&" is just "chdir /d $workdir &&
> compile/link-command." So, adding $workdir
> specifier to target syntax of Ninja might work for many cases.
>
That's right. I just had a look at the build.ninja file generated by the
Ninja Generator and it actually uses && only for changing the working
directory. I will suggest a patch to Ninja to support working directory
for each build statement.
Cheers,
--
Nicolas Desprès
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20111118/f7026e71/attachment.html>
More information about the cmake-developers
mailing list