[cmake-developers] -GNinja on Windows
Peter Kümmel
syntheticpp at gmx.net
Tue Jun 12 15:10:46 EDT 2012
On 12.06.2012 20:54, Bill Hoffman wrote:
> On 6/12/2012 2:30 PM, Peter Kümmel wrote:
>>
>> OK, but we need to handle strings like this:
>>
>> "... \outlib.dir\outlib.c.obj".d
>>
>> Peter
>
> OK, so where does the .d get added? That seems like the problem. It
> should not be adding a .d to the end of a quoted string.
>
Defined in rules.ninja:
#############################################
# Rule for compiling CXX files.
rule CXX_COMPILER
depfile = $out.d
And $out is given by build.ninja:
# =============================================================================
# Object build statements for EXECUTABLE target cmIML_test
build Utilities\KWIML\test\CMakeFiles\cmIML_test.dir\test.c.obj: C_COMPILER
--> depfile = $out.d = "c:\my build\Utilities\KWIML\test\CMakeFiles\cmIML_test.dir\test.c.obj".d
Peter
More information about the cmake-developers
mailing list