llvm-project/llvm/tools/llvm-ar/CMakeLists.txt

20 lines
307 B
CMake

set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
Core
DlltoolDriver
LibDriver
Object
Support
)
add_llvm_tool(llvm-ar
llvm-ar.cpp
DEPENDS
intrinsics_gen
)
add_llvm_tool_symlink(llvm-ranlib llvm-ar)
add_llvm_tool_symlink(llvm-lib llvm-ar)
add_llvm_tool_symlink(llvm-dlltool llvm-ar)