<div>I took a look at 'CMakeClDeps.cmake', where this string is detected, and ran the</div><div>example with both compilers:</div><div><br></div><div> $ cl /nologo /showIncludes C:/temp/cmcldeps_ShowIncludes/build/CMakeFiles/ShowIncludes/main.c</div>
<div> main.c</div><div> Note: including file: c:\temp\cmcldeps_showincludes\build\cmakefiles\showincludes\foo.h</div><div><br></div><div> $ icl /nologo /showIncludes C:/temp/cmcldeps_ShowIncludes/build/CMakeFiles/ShowIncludes/main.c</div>
<div> main.c</div><div> Note: including file: C:/temp/cmcldeps_ShowIncludes/build/CMakeFiles/ShowIncludes/foo.h</div><div><br></div><div>Note how the Intel compiler does not normalize and lower-case the include path.</div>
<div>Consequently the path replacement fails and so CMakeFiles\CMakeCCompiler.cmake</div><div>looks like this:</div><div><br></div><div> set(CMAKE_CL_SHOWINCLUDE_PREFIX "Note: including file: C:/temp/cmcldeps_ShowIncludes/build/CMakeFiles/ShowIncludes/foo.h")</div>
<div><br></div><i>--Zaheer</i><br><br><div class="gmail_quote">On Sun, Aug 26, 2012 at 7:45 PM, Peter Kümmel <span dir="ltr"><<a href="mailto:syntheticpp@gmx.net" target="_blank">syntheticpp@gmx.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 23.08.2012 08:53, Nils Gladitz wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I was using the Intel provided build environment (sets up environment<br>
variables and runs cmd.exe) with CC and CXX set to icl which apparently<br>
is the cause of the extra verbosity.<br>
<br>
When I use the same environment without CC and CXX set (which in this<br>
case defaults them to cl provided by visual studio 2005) ninja/cmcldeps<br>
keeps quiet.<br>
<br>
</blockquote>
<br>
"Note: including file:" is generated by the compiler because of /ShowIncludes.<br>
<br>
When cl is used we detect this localized string and suppress the output.<br>
But it looks like this detection doesn't work for icl.<br>
<br>
Could you have a look at "rule CXX_COMPILER" in rules.build and try to<br>
figure out why it doesn't work for icl?<br>
<br>
It should look like this:<br>
<br>
rule CXX_COMPILER<br>
depfile = $DEP_FILE<br>
command = "C:/Program Files (x86)/CMake 2.8/bin/cmcldeps.exe" CXX $in "$DEP_FILE" $out "Note: including file:"<br>
<br>
<br>
Peter<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Nils<br>
<br>
On 08/23/2012 07:47 AM, Bill Hoffman wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 8/22/2012 5:34 AM, Nils Gladitz wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm trying the Ninja generator on windows with CMake 2.8.9.<br>
<br>
When starting a build with "ninja" my console is flooded with messages<br>
of the form:<br>
"Note: including file: [...]" which I am guessing are generated by<br>
cmcldeps(?).<br>
<br>
It feels like all that output is slowing down the build considerably<br>
since the windows console is relatively slow.<br>
Of course it also makes actually relevant output difficult to spot.<br>
<br>
Is there some way to turn the messages off?<br>
<br>
</blockquote>
Strange, I have not seen this at all. What shell are you using?<br>
<br>
-Bill<br>
<br>
--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at:<br>
<a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/<u></u>CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/<u></u>listinfo/cmake</a><br>
</blockquote>
<br>
<br>
</blockquote>
--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/<u></u>CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/<u></u>listinfo/cmake</a><br>
</blockquote></div><br>