blob: eb95a5ff7a0ee9d947f6620b43269c4a24d1dad6 [file] [log] [blame]
set(LLVM_LINK_COMPONENTS
BinaryFormat
Core
Object
Option
Support
TargetParser
TextAPI
${LLVM_TARGETS_TO_BUILD}
)
set(LLVM_TARGET_DEFINITIONS Opts.td)
tablegen(LLVM Opts.inc -gen-opt-parser-defs)
add_public_tablegen_target(LibtoolDarwinOptsTableGen)
add_llvm_tool(llvm-libtool-darwin
llvm-libtool-darwin.cpp
DEPENDS
LibtoolDarwinOptsTableGen
GENERATE_DRIVER
)
if(LLVM_INSTALL_CCTOOLS_SYMLINKS)
add_llvm_tool_symlink(libtool llvm-libtool-darwin)
endif()