[LLVMdev] Problem in LLVM CMake modules

Eli Gottlieb eligottlieb at gmail.com
Fri Aug 3 07:36:04 PDT 2012


Well for one thing, it gives one example of a CMakeLists.txt file that 
correctly uses LLVM, and nothing else.  It gives no information on how 
to find out what set of components I need to map for what APIs.

Neither does llvm-config list out the names of the actual components.  I 
can use either the CMake modules or llvm-config to find the library 
names once I've got the component names, but as far as I can tell, 
there's no actual documentation of the component names themselves anywhere.
Oscar Fuentes <ofv at wanadoo.es> wrote:
> Eli Gottlieb<eligottlieb at gmail.com>  writes:
>
>> So where could I find a list of LLVM libraries so I can figure out
>> which ones I actually need to link into my program?
> What's not clear in
>
> http://www.llvm.org/docs/CMake.html#embedding-llvm-in-your-project
>
> ? (suppossing that you are using CMake)
>
> Also take a look at the llvm-config tool.



More information about the llvm-dev mailing list