[cmake-developers] -GNinja on Windows
Peter Kümmel
syntheticpp at gmx.net
Tue Jun 12 15:30:25 EDT 2012
On 12.06.2012 21:17, Bill Hoffman wrote:
> On 6/12/2012 3:10 PM, Peter Kümmel wrote:
>>
>>
>> --> depfile = $out.d = "c:\my build\Utilities\KWIML\test\CMakeFiles\cmIML_test.dir\test.c.obj".d
>>
>
> Maybe this should be mentioned on the ninja mailing list. If this were
> CMake, I would say that the " should be stripped when $out is being
> expanded. It just seems like this is a fundamental issue with ninja and
> handling spaces in the path with .d files.
Yes, that's the reason why that patches look so ugly.
>How does it work on linux?
> I guess it uses foo\ space?
>
> The way this is handled in CMake, is that all paths inside a CMake file
> have to be posix style using / even on windows.
>
But I found a ninja-patch free solution. Busy with testing now ....
Peter
More information about the cmake-developers
mailing list