[cmake-developers] Ninja generator on Windows
Bill Hoffman
bill.hoffman at kitware.com
Thu Feb 2 10:34:55 EST 2012
On 2/2/2012 8:30 AM, Brad King wrote:
> On 2/1/2012 10:23 PM, Bill Hoffman wrote:
>> On 2/1/2012 4:19 PM, Peter Kümmel wrote:
>>> We can't use cmd. Maybe ninja could be fixed.
>>
>> If not, you could come up with something that uses CMake scripts.
>>
>> cmake -E foo.cmake
>> ----foo.cmake----
>> execute_process(....)
>>
>> Not ideal, but until ninja figures it out, cmake can become the shell
>> for ninja.
>
> That won't handle the && problem currently facing Ninja.
>
Why not? CMake does not handle && in custom commands either. It is
expected that custom commands are run one by one. So, a CMake Ninja
generator should be able to handle all cases, it might have to create
some CMake scripts to do it, but I don't see why we would need anything
more from Ninja than the ability to run a single command.
-Bill
More information about the cmake-developers
mailing list