[LLVMdev] Long-Term Support for LLVM Projects Extension to Build System?

Dan Liew dan at su-root.co.uk
Fri Jun 19 15:25:54 PDT 2015


On 19 June 2015 at 07:57, Mehdi Amini <mehdi.amini at apple.com> wrote:
> Hi,
>
> If you just want to *link* to LLVM, it is not clear to me why you are not
> just relying on LLVM being built separately and have your project CMake
> pointing to the llvm build directory and using llvm-config to populate the
> linker argument?

This is what I effectively do. Although because I build the projects I
work on I use the CMake config file that LLVM exports to make it
trivially easy to use the LLVM libraries from within CMake (see
http://llvm.org/docs/CMake.html#embedding-llvm-in-your-project).

Thanks,
Dan.



More information about the llvm-dev mailing list