search for: llvmclientmacro

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

Did you mean: llvmclientmacros
2008 Nov 14
0
[LLVMdev] bugs in CMake build
...th those things added again. One of the things I plan to do is to allow the use of LLVM_LINK_COMPONENTS by external projects. 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 repo...
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