Update CMakeLists.txt in the tutorial to reflect the latest changes in LLVM.
The demo projects cannot be linked without added libraries.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Thanks for the patch @jubnzv!
Except that one nit changes look good to me. Just a few months ago I also face a similar issue with RAVFrontendAction.rst during Shared build and commit a patch rG6ee1f64a2e828d27a6c20839232b3ac828367123.
clang/docs/LibASTMatchersTutorial.rst | ||
---|---|---|
111 | You should list these or preferably all target_link_librarie in alphabetical order for example see: https://github.com/llvm/llvm-project/blob/main/clang/lib/Tooling/CMakeLists.txt#L125. |
You should list these or preferably all target_link_librarie in alphabetical order for example see: https://github.com/llvm/llvm-project/blob/main/clang/lib/Tooling/CMakeLists.txt#L125.