You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In IWYU's build, we guess Clang's resource dir based on the CMAKE_PREFIX_PATH, so we can collect the builtin/resource headers for our own build tree. Unfotunately, depending on packaging/platform, the path to the resource dir varies quite a bit.
Is there any chance to expose something like CLANG_RESOURCE_DIR in ClangConfig.cmake?
It's not fully clear to me what the layering looks like there, but it feels like it should be possible.
Thanks!
The text was updated successfully, but these errors were encountered:
(I'd be happy to start on a patch, but I need a thread to start pulling on. Is there an example patch doing something similar to give me an idea what would need to change? Thanks!)
In IWYU's build, we guess Clang's resource dir based on the
CMAKE_PREFIX_PATH
, so we can collect the builtin/resource headers for our own build tree. Unfotunately, depending on packaging/platform, the path to the resource dir varies quite a bit.Is there any chance to expose something like
CLANG_RESOURCE_DIR
inClangConfig.cmake
?It's not fully clear to me what the layering looks like there, but it feels like it should be possible.
Thanks!
The text was updated successfully, but these errors were encountered: