mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-13 23:18:51 +00:00
2ec309f7d1
Summary: This change generalizes symlink generation and makes symlinks to tools obey LLVM_TOOLCHAIN_TOOLS. It makes it so that if you exclude llvm-ar from LLVM_TOOLCHAIN_TOOLS you don't end up with broken symlinks to llvm-lib and llvm-ranlib in your install. Reviewers: bogner, chapuni, rafael Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D12864 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247632 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
219 B
CMake
15 lines
219 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
${LLVM_TARGETS_TO_BUILD}
|
|
Core
|
|
LibDriver
|
|
Object
|
|
Support
|
|
)
|
|
|
|
add_llvm_tool(llvm-ar
|
|
llvm-ar.cpp
|
|
)
|
|
|
|
add_llvm_tool_symlink(llvm-ranlib llvm-ar)
|
|
add_llvm_tool_symlink(llvm-lib llvm-ar)
|