that builds the following additional llvm/clang tools: - bugpoint - llc - lli - llvm-ar - llvm-as - llvm-bcanalyzer - llvm-diff - llvm-dis - llvm-extract - llvm-ld - llvm-link - llvm-mc - llvm-nm - llvm-objdump - llvm-prof - llvm-ranlib - llvm-rtdyld - llvm-stub - macho-dump - opt These tools are mainly useful for people that want to manipulate llvm bitcode (.bc) and llvm assembly language (.ll) files, or want to tinker with llvm and clang themselves. MFC after: 2 weeks
7 lines
107 B
CMake
7 lines
107 B
CMake
set(LLVM_LINK_COMPONENTS archive)
|
|
set(LLVM_REQUIRES_EH 1)
|
|
|
|
add_llvm_tool(llvm-ranlib
|
|
llvm-ranlib.cpp
|
|
)
|