search for: link_llvm_componet

Displaying 2 results from an estimated 2 matches for "link_llvm_componet".

Did you mean: link_llvm_componets
2008 Nov 14
0
[LLVMdev] bugs in CMake build
...Thus, in your project, you could do something like: set(LLVM_MAIN_SRC_DIR /path/to/llvm/sources) list(APPEND CMAKE_MODULE_PATH ${LLVM_MAIN_SRC_DIR}/cmake/modules) include(LLVMClientMacros) LLVM_LINK_COMPONENTS(bitreader bitwriter [... other llvm components]) add_executable(your_executable etc) link_llvm_componets(your_executable) and the libraries needed by the components you listed would be compiled and added to your executable. >> If you find more problems, please report them on >> http://www.llvm.org/bugs/ > > Well, for issues like the patch in my previous message I could have > d...
2008 Nov 14
3
[LLVMdev] bugs in CMake build
I am using LLVM as back end for my compiler, and until now I have used my own CMake build system for LLVM. But now LLVM has a CMake build system of its own, so when upgrading my LLVM version I decided to move to the 'official' one. It's not an easy transition, the build fails. I already found one bug: in some files the variable CMAKE_SOURCE_DIR is used for the LLVM top-level source