mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
cb472f88b8
Add user enabled option to create lipo with symlink to llvm-lipo Used rL326381 for reference. Differential Revision: https://reviews.llvm.org/D65477 llvm-svn: 367444
21 lines
373 B
CMake
21 lines
373 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
${LLVM_TARGETS_TO_BUILD}
|
|
Object
|
|
Option
|
|
Support
|
|
)
|
|
|
|
set(LLVM_TARGET_DEFINITIONS LipoOpts.td)
|
|
tablegen(LLVM LipoOpts.inc -gen-opt-parser-defs)
|
|
add_public_tablegen_target(LipoOptsTableGen)
|
|
|
|
add_llvm_tool(llvm-lipo
|
|
llvm-lipo.cpp
|
|
DEPENDS
|
|
LipoOptsTableGen
|
|
)
|
|
|
|
if(LLVM_INSTALL_CCTOOLS_SYMLINKS)
|
|
add_llvm_tool_symlink(lipo llvm-lipo)
|
|
endif()
|