<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 15, 2017 at 2:53 PM, Stephan T. Lavavej <span dir="ltr"><<a href="mailto:stl@exchange.microsoft.com" target="_blank">stl@exchange.microsoft.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
[don hinton]<br>
<span class="gmail-">> I can't test this since I don't have windows, but I think the problem<br>
> is the additional directory checks in findVCToolChainViaEnvironment(<wbr>)<br>
> which don't match his path to cl.exe, i.e.,<br>
> S:\binaries\x86ret\bin\i386\<wbr>cl.exe.<br>
<br>
</span>I think you're correct (which is why I explained my directory structure). If I had an override option to say "you'll find cl.exe and link.exe on the path, and I've set up INCLUDE and LIB for you, there's no need to inspect the directory structure further", I think that would be sufficient.<br>
<br></blockquote><div><br></div><div>Unfortunately, it looks like the current test is based on the path.  Perhaps it would be better to actually run a simple test compile, a la, configure/cmake, and spit out the value of <span style="color:rgb(69,69,69);font-family:Monaco,Consolas,"Andale Mono","DejaVu Sans Mono",monospace;font-size:15px">_MSC_VER </span><span style="color:rgb(69,69,69);font-family:Monaco,Consolas,"Andale Mono","DejaVu Sans Mono",monospace">instead.</span></div><div><br></div></div></div></div>