[llvm-dev] Fwd: [cfe-dev] Load llvm and clang source tree in QtCreator
Nicolai Hähnle via llvm-dev
llvm-dev at lists.llvm.org
Mon Nov 25 05:21:32 PST 2019
On Thu, Nov 21, 2019 at 9:43 AM Алексеев Кирилл via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> How to open llvm and clang source tree in QtCreator in same project. I need to write project using clang but also I need to navigate through llvm sources (not only headers). Previous versions of llvm allow clang sources to be located in llvm / tools / clang, but it seems that current versions need clang (and libcxx, ...) in separate directories. So when I open main CmakeList of llvm in QtCreator there is no clang in QtCreator project. Naturally I can preinstall llvm libraries and clang cmake automatically will find them and will dinamically linkclang with then. But I need also llvm sources to be seen in IDE.
You should be using the mono-repository. Just point QtCreator at the
root of that repository, and it'll find Clang, LLVM, and everything
else in there.
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
Lerne, wie die Welt wirklich ist,
aber vergiss niemals, wie sie sein sollte.
More information about the llvm-dev