1set(LLVM_LINK_COMPONENTS archive) 2set(LLVM_REQUIRES_EH 1) 3 4add_llvm_tool(llvm-ranlib 5 llvm-ranlib.cpp 6 ) 7