[LLVMdev] Building an external lib with the LLVM build system
Óscar Fuentes
ofv at wanadoo.es
Fri Aug 28 06:21:20 PDT 2009
Olaf Krzikalla <Olaf.Krzikalla at tu-dresden.de> writes:
[snip]
> How to do it the right way? How to set up a build system for an external
> lib based on LLVM?
AFAIK the LLVM build framework is for LLVM subprojects. You have a
external application that uses LLVM. So build the library with your
project's makefile. If you need the compiler flags used for LLVM invoke
llvm-config. Likewise for libraries. Probably you'll need to teach your
makefile about the LLVM library and header locations.
--
Óscar
More information about the llvm-dev
mailing list