Skip to content

VS: Detect compiler component in VS 2017 instances more reliably

Brad King requested to merge brad.king/cmake:vs-2017-cl-check into master

The Microsoft.VisualStudio.Component.VC.Tools.x86.x64 component is not the only way a VS instance may provide the cl compiler tool. For example, VS 2017 Express Edition does not install that component. Instead search for the tools directly on disk within an instance.

Fixes: #17349 (closed)

Merge request reports