- Install Chocolatey.
- Launch a PowerShell terminal in administrator mode.
- Install
visualstudio2019community
. - Install the Visual Studio 2019 native C++ Desktop workload with the optional MSVC and clang components included:
PS C:\> choco install --force visualstudio2019-workload-nativedesktop --package-parameters "--includeOptional"
- Launch Visual Studio Installer -> Visual Studio 2019 -> Manage -> Uncheck IncrediBuild. Confirm uninstallation of IncrediBuild.
- Reboot (Or sign out then sign back in).
Remove any cmake temporary files.
PS C:\> cmake .
PS C:\> cmake -T ClangCL .