[ARM] Basic And/Or/Xor handling for MVE predicates
[llvm-complete.git] / tools / llvm-objcopy / CMakeLists.txt
blob5d0e5cc3689ae54b3297c9834b3da13596563a47
1 set(LLVM_LINK_COMPONENTS
2   Object
3   Option
4   Support
5   MC
6   )
8 set(LLVM_TARGET_DEFINITIONS ObjcopyOpts.td)
9 tablegen(LLVM ObjcopyOpts.inc -gen-opt-parser-defs)
10 add_public_tablegen_target(ObjcopyOptsTableGen)
12 set(LLVM_TARGET_DEFINITIONS StripOpts.td)
13 tablegen(LLVM StripOpts.inc -gen-opt-parser-defs)
14 add_public_tablegen_target(StripOptsTableGen)
16 add_llvm_tool(llvm-objcopy
17   Buffer.cpp
18   CopyConfig.cpp
19   llvm-objcopy.cpp
20   COFF/COFFObjcopy.cpp
21   COFF/Object.cpp
22   COFF/Reader.cpp
23   COFF/Writer.cpp
24   ELF/ELFObjcopy.cpp
25   ELF/Object.cpp
26   MachO/MachOObjcopy.cpp
27   MachO/MachOReader.cpp
28   MachO/MachOWriter.cpp
29   MachO/Object.cpp
30   DEPENDS
31   ObjcopyOptsTableGen
32   StripOptsTableGen
33   )
35 add_llvm_tool_symlink(llvm-strip llvm-objcopy)
37 if(LLVM_INSTALL_BINUTILS_SYMLINKS)
38   add_llvm_tool_symlink(objcopy llvm-objcopy)
39   add_llvm_tool_symlink(strip llvm-objcopy)
40 endif()