[llvm-dev] [lldb-dev] [cfe-dev] Should we stop supporting building with Visual Studio?
Jim Ingham via llvm-dev
llvm-dev at lists.llvm.org
Mon Oct 8 12:11:33 PDT 2018
> On Oct 8, 2018, at 8:09 AM, Zachary Turner via lldb-dev <lldb-dev at lists.llvm.org> wrote:
>
> I haven't heard of anyone using the Xcode generated project. In fact, LLDB maintains its own hand-created Xcode project precisely because the CMake one is considered "unusable". That said, I don't personally use Xcode or a Mac, so I can't speak for if anyone else might be using the Xcode generator.
>
All of Xcode's smart code comprehension relies on the clang index built from the project. Xcode uses the project's build rules to construct the index. Apparently the cmake generated Xcode project doesn't communicate the info on how to build the project and thus the index to Xcode in a way it can use. I haven't tried it recently for lldb (I don't think anybody on the team here has), but people here were hacking on the generator to use it for developing clang & swift not too long ago. The last report I heard was that it still needs more work to be usable, and that that work was not entirely trivial.
Without the index, Xcode is a pretty weak IDE, which is why we maintain a hand-built Xcode project.
Jim
More information about the llvm-dev
mailing list