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
--

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

Reply via email to