[cmake-developers] Ninja + Windows CE

Peter Kümmel syntheticpp at gmx.net
Sat Feb 9 04:39:52 EST 2013


On 30.01.2013 15:17, Brad King wrote:
> On 01/26/2013 12:33 PM, Patrick Gansterer wrote:
>> to compile WindowsCE C++ project with Ninja I need the attached patch
>> applied.
>
> One problem with this patch is that it moves the initialization of C
> and CXX languages until after the RC initialization which tries to
> match the location of the C/CXX compilers.  Have a look at these:
>
>   http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e3a1f727
>   http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6547f369
>
> Peter, can you explain why this is needed for Ninja but not the
> other generators?  Why does the logic belong in that method?
>
> Thanks,
> -Brad
>

It wasn't clear to me why it works with other generators so I
patched only the ninja code. Maybe there is a better solution,
but I couldn't figure it out.

Peter




More information about the cmake-developers mailing list