21 lines
332 B
CMake
21 lines
332 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
AllTargetsAsmParsers
|
|
AllTargetsDescs
|
|
AllTargetsDisassemblers
|
|
AllTargetsInfos
|
|
MC
|
|
MCParser
|
|
Option
|
|
Support
|
|
)
|
|
|
|
set(LLVM_TARGET_DEFINITIONS Opts.td)
|
|
|
|
tablegen(LLVM Opts.inc -gen-opt-parser-defs)
|
|
add_public_tablegen_target(MLTableGen)
|
|
|
|
add_llvm_tool(llvm-ml
|
|
llvm-ml.cpp
|
|
Disassembler.cpp
|
|
)
|