[cfe-dev] How to build a clang-tool out of the build tree?
Kim Gräsman via cfe-dev
cfe-dev at lists.llvm.org
Sat Nov 16 02:40:35 PST 2019
If the straight line tutorials end up not working, you may be able to find
some inspiration for workarounds in IWYU:
https://github.com/include-what-you-use/include-what-you-use/blob/master/CMakeLists.txt
And:
https://github.com/include-what-you-use/include-what-you-use/blob/master/.travis.yml
- Kim
On Wed, Nov 13, 2019, 17:26 Laurent Thévenoux via cfe-dev <
cfe-dev at lists.llvm.org> wrote:
> Hi,
>
> I’m trying to develop a clang-tool, following such kind of tutorial :
> https://clang.llvm.org/docs/LibASTMatchersTutorial.html.
>
> I’m using GitHub with Travis-CI and I can’t build clang/llvm on Travis
> because of the free-plan constraints. I’m wondering if it is possible to
> build such a tool without having to build clang/llvm, i.e., is there a way
> to simply install clang (from any package manager) with its LibTooling and
> LibASTMatchers, to which I could link my tool with?
>
> Regards,
> Laurent
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20191116/3a77660f/attachment.html>
More information about the cfe-dev
mailing list