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