mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 02:52:53 +02:00
095ff4074a
Adds a build file for clang-tblgen and an action for running it, and uses that to process all the .td files in include/clang/Basic. Also adds an action to write include/clang/Config/config.h and include/clang/Basic/Version.inc. Differential Revision: https://reviews.llvm.org/D55847 llvm-svn: 349677
24 lines
455 B
CMake
24 lines
455 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
${LLVM_TARGETS_TO_BUILD}
|
|
BinaryFormat
|
|
Core
|
|
DlltoolDriver
|
|
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)
|
|
add_llvm_tool_symlink(llvm-dlltool llvm-ar)
|
|
|
|
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()
|