Displaying 3 results from an estimated 3 matches for "llvm_native_object".
Did you mean:
llvm_native_objects
2010 Jun 14
0
[LLVMdev] CMake sample project?
...> 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 nowdays.
[1] http://bitbucket.org/opengtl/opengtl/src/tip/cmake/modules/FindLLVM.cmake
[2]
http://bitbucket.org/opengtl/opengtl/src/tip/OpenGTL/GTLCore/CMakeLists.txt
--
Cyrille Berge...
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?
...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 nowdays.
>
> [1]
> http://bitbucket.org/opengtl/opengtl/src/tip/cmake/modules/FindLLVM.cmake
> [2]
> http://bitbucket.org/opengtl/opengtl/src/tip/OpenGTL/GTLCore/C...