forked from OSchip/llvm-project
22 lines
383 B
CMake
22 lines
383 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
${LLVM_TARGETS_TO_BUILD}
|
|
Object
|
|
Option
|
|
Support
|
|
TextAPI
|
|
)
|
|
|
|
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()
|