On Wed, Nov 16, 2011 at 3:05 PM, OKUMURA Yuki <m...@cltn.org> wrote:

> (Sorry Bill, i repost here..)
>
> 2011/11/16 Bill Hoffman <bill.hoff...@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
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to