Closed clshortfuse closed 4 months ago
Hi @clshortfuse . This looks like a known issue with CMake Tools: https://github.com/microsoft/vscode-cmake-tools/issues/3240 . Could you comment on that issue with your specific repro?
The custom configuration provider API unfortunately does not currently differentiate between system and user (or other types of) includes in the IncludePath
field. However, these could be passed by the provider in the compiler arguments field.
Environment
Bug Summary and Steps to Reproduce
Bug Summary:
When using a cmake configuration that has a
SYSTEM
that inclusion isn't passed as system. This causesclang-tidy
to analyze all external repositories.Steps to reproduce:
Trace configuration passed
See as clang/clang-tidy passes the include as not system, on build or tidy
Expected behavior:
System includes in cmake should be passed as system includes to clang/clang-tidy
Configuration and Logs
Custom configurations received:
Other Extensions
ms-vscode.cmake-tools
Additional context