Skip to content

[Bug] Kit detection returns "unknown vendor" when using clang-cl #4638

@TheNicker

Description

@TheNicker

Brief Issue Summary

Download latest clang package from github.
Add clang kit to Vscode
Change Build output to include ${buildKitVendor}
Configure project

Result:
output directory has unknown_vendor

Note:
It works for clang.exe from the same package but not for clang-cl.exe

CMake Tools Diagnostics

{
  "os": "win32",
  "vscodeVersion": "1.107.0",
  "cmtVersion": "1.21.36",
  "configurations": [
    {
      "folder": "d:\\Development\\oiv\\oiv",
      "cmakeVersion": "4.2.1",
      "configured": true,
      "generator": "Ninja",
      "usesPresets": false,
      "compilers": {
        "C": "d:/Applications/clang+llvm-21.1.7-x86_64-pc-windows-msvc/bin/clang-cl.exe",
        "CXX": "d:/Applications/clang+llvm-21.1.7-x86_64-pc-windows-msvc/bin/clang-cl.exe"
      }
    }
  ],
  "cpptoolsIntegration": {
    "isReady": true,
    "hasCodeModel": true,
    "activeBuildType": "Debug",
    "buildTypesSeen": [
      "Debug"
    ],
    "requests": [],
    "responses": [],
    "partialMatches": [],
    "targetCount": 71,
    "executablesCount": 1,
    "librariesCount": 38,
    "targets": []
  },
  "settings": [
    {
      "communicationMode": "automatic",
      "useCMakePresets": "auto",
      "configureOnOpen": true
    }
  ]
}

Debug Log

N/A

Additional Information

No response

Metadata

Metadata

Labels

buga bug in the product

Type

No type

Projects

Status

Completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions