2011/11/15 Bill Hoffman <bill.hoff...@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
-- 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