[cmake-developers] [PATCH 0/3] The CMake Ninja generator.
Nicolas Desprès
nicolas.despres at gmail.com
Tue Nov 15 13:11:10 EST 2011
2011/11/15 Bill Hoffman <bill.hoffman at kitware.com>
> On 11/15/2011 12:54 PM, Nicolas Desprès wrote:
>
> Too much in my opinion. Specially the && operator of the shell. Using
>> cmake -E is the first step. I am planning to suggest an evolution of
>> Ninja to fix this issue. Actually, it is the main issue which stop me
>> while writing the beginning of this generator.
>> Cheers,
>>
>>
> What type of evolution will Ninja need? I suppose it could use cmake
> scripts and exectue_process which can do && type things pretty easy.
>
Writting cmake script is one solution but since (at least when I started
the Ninja Generator) Ninja uses $in as input file for the build statement
it can be hard to pass to the cmake script. I had a discussion on this
email some month ago about how to pass argument to the cmake script. Maybe
it will work using -D option. Not sure about that. It is old in my mind and
I have to check this out again.
In a general manner I wanted to prevent Ninja to spawn a shell which in
turn parse the command since it is not that portable on Windows and thus to
provide an alternative syntax to just spawn a process. Something closer to
"execute_process" than "system" to say it shortly.
--
Nicolas Desprès
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20111115/d7129421/attachment.html>
More information about the cmake-developers
mailing list