2013-12-10 19:13:32 +08:00
|
|
|
set(LLVM_LINK_COMPONENTS
|
2014-07-04 03:40:08 +08:00
|
|
|
${LLVM_TARGETS_TO_BUILD}
|
2014-07-14 13:01:53 +08:00
|
|
|
Core
|
2017-07-19 05:26:38 +08:00
|
|
|
DlltoolDriver
|
2015-06-10 05:50:22 +08:00
|
|
|
LibDriver
|
2013-12-10 19:13:32 +08:00
|
|
|
Object
|
|
|
|
Support
|
|
|
|
)
|
2008-09-22 09:08:49 +08:00
|
|
|
|
|
|
|
add_llvm_tool(llvm-ar
|
|
|
|
llvm-ar.cpp
|
2016-11-19 07:04:27 +08:00
|
|
|
|
|
|
|
DEPENDS
|
|
|
|
intrinsics_gen
|
2008-09-22 09:08:49 +08:00
|
|
|
)
|
|
|
|
|
2015-09-15 07:09:06 +08:00
|
|
|
add_llvm_tool_symlink(llvm-ranlib llvm-ar)
|
|
|
|
add_llvm_tool_symlink(llvm-lib llvm-ar)
|
2017-07-19 05:26:38 +08:00
|
|
|
add_llvm_tool_symlink(llvm-dlltool llvm-ar)
|
2017-11-03 05:43:32 +08:00
|
|
|
|
|
|
|
if(LLVM_INSTALL_BINUTILS_SYMLINKS)
|
|
|
|
add_llvm_tool_symlink(ar llvm-ar)
|
|
|
|
add_llvm_tool_symlink(dlltool llvm-ar)
|
|
|
|
add_llvm_tool_symlink(ranlib llvm-ar)
|
|
|
|
endif()
|