<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hi there,</span><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">For some mysterious reason the invocation in subject does not print out the all-important message CMAKE_C_COMPILER=<path_to_cl.exe> after the compilation of CompilerIdC.c</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">The invocation in question is in CMakeDetermnineCompilerId.cmake like 188.</div><div style="font-family:arial,sans-serif;font-size:13px">The CMAKE_C_COMPILER message is the one echo'ed by a the VCPostBuildEventTool action in CompilerIdC.vcproj</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I suppose I should send the query to a Microsoft forum, really. But I was hoping someone would have seen this odd behavior before.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">If I build CompilerIdC.vcproj in Visual Studio, then I do see the message in the build output.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Note that the compilation of CompilerIdC.c does work properly. And so does the extraction of the compiler ID strings from the executable binary.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I currently have Visual Studio both VS2013 and the Intel C++ compiler installed on the same machine. Could that be having a nefarious influence?</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I'm seeing the same behavior with CMake 2.8.12.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Big thanks in advance!</div></div>