Page MenuHomePhabricator

[llvm-config] Support MSVS layout
Needs ReviewPublic

Authored by broadwaylamb on Aug 23 2019, 5:20 AM.



When using a Visual Studio generator in CMake, the llvm-config
executable is placed in the ${LLVM_OBJ_ROOT}/<build-mode>/bin
directory, which wasn't recognized by the llvm-config tool.

This led to llvm-config returning the wrong path for --cmakedir.
This is fixed here.

Event Timeline

broadwaylamb created this revision.Aug 23 2019, 5:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 23 2019, 5:20 AM

Could anyone verify this patch?