Displaying 3 results from an estimated 3 matches for "find_llvm_lib".
Did you mean:
find_llvm_libs
2010 Jun 14
0
[LLVMdev] CMake sample project?
...ough trial and error. I'm not sure if and how
> llvm-config works with cmake. Its seems now that I got the
> right dependencies in the right order, there have been no
> ongoing maintenance issues.
I use llvm-config with cmake, for this I wrote a FindLLVM.cmake file [1], it
provides a FIND_LLVM_LIBS macro that calls llvm-config, example of use in [2].
Unfortunately it does not work with MSVC, so I had to hardcode the libraries
when building with MSVC.
The LLVM_NATIVE_OBJECTS part of FIND_LLVM_LIBS is probably not needed anymore,
since everything seems to be shipped as static library nowda...
2010 Jun 13
2
[LLVMdev] CMake sample project?
I built the list by hand though trial and error. I'm not sure if and how
llvm-config works with cmake. Its seems now that I got the
right dependencies in the right order, there have been no
ongoing maintenance issues.
On Sun, Jun 13, 2010 at 4:32 PM, sam lee <skynare at gmail.com> wrote:
> Ah, thank you so much.
> How did you get the list of target_link_libraries() ?
> Did you
2010 Jun 15
1
[LLVMdev] CMake sample project?
...sure if and how
> > llvm-config works with cmake. Its seems now that I got the
> > right dependencies in the right order, there have been no
> > ongoing maintenance issues.
>
> I use llvm-config with cmake, for this I wrote a FindLLVM.cmake file [1],
> it
> provides a FIND_LLVM_LIBS macro that calls llvm-config, example of use in
> [2].
> Unfortunately it does not work with MSVC, so I had to hardcode the
> libraries
> when building with MSVC.
>
> The LLVM_NATIVE_OBJECTS part of FIND_LLVM_LIBS is probably not needed
> anymore,
> since everything seems t...