[LLVMdev] Why does cmake use LLVMBuild.txt to specify the LLVM-libs link order?
Greg Fitzgerald
garious at gmail.com
Thu Oct 31 13:12:20 PDT 2013
On Thu, Oct 31, 2013 at 12:17 PM, Sebastian Pop <spop at codeaurora.org> wrote:
> Is there a reason to not use the cmake add_dependencies to establish the link
> order of the LLVM libs instead of using the LLVMBuild.txt info?
Have you tried `target_link_libraries`? The new CMake book has an
example showing one static lib depending on another (page 25):
`target_link_libraries(foo bar)` where `foo` uses symbols from `bar`.
-Greg
More information about the llvm-dev
mailing list