diff options
Diffstat (limited to 'llvm/tools/llvm-objcopy/CMakeLists.txt')
| -rw-r--r-- | llvm/tools/llvm-objcopy/CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/tools/llvm-objcopy/CMakeLists.txt b/llvm/tools/llvm-objcopy/CMakeLists.txt index 05aa727ab9d..c2d2d798b38 100644 --- a/llvm/tools/llvm-objcopy/CMakeLists.txt +++ b/llvm/tools/llvm-objcopy/CMakeLists.txt @@ -1,11 +1,20 @@ set(LLVM_LINK_COMPONENTS Object + Option Support MC ) + +set(LLVM_TARGET_DEFINITIONS Opts.td) + +tablegen(LLVM Opts.inc -gen-opt-parser-defs) +add_public_tablegen_target(ObjcopyTableGen) + add_llvm_tool(llvm-objcopy llvm-objcopy.cpp Object.cpp + DEPENDS + ObjcopyTableGen ) if(LLVM_INSTALL_BINUTILS_SYMLINKS) |

