llvm/tools/llvm-readtapi/CMakeLists.txt
raw| 1 | set(LLVM_LINK_COMPONENTS |
| 2 | BinaryFormat |
| 3 | Object |
| 4 | Support |
| 5 | Option |
| 6 | TextAPI |
| 7 | TextAPIBinaryReader |
| 8 | ) |
| 9 | |
| 10 | set(LLVM_TARGET_DEFINITIONS TapiOpts.td) |
| 11 | tablegen(LLVM TapiOpts.inc -gen-opt-parser-defs) |
| 12 | add_public_tablegen_target(ReadTAPIOptsTableGen) |
| 13 | |
| 14 | add_llvm_tool(llvm-readtapi |
| 15 | llvm-readtapi.cpp |
| 16 | DiffEngine.cpp |
| 17 | |
| 18 | DEPENDS |
| 19 | ReadTAPIOptsTableGen |
| 20 | ) |
| 21 | |
| 22 | if(LLVM_INSTALL_BINUTILS_SYMLINKS) |
| 23 | add_llvm_tool_symlink(readtapi llvm-readtapi) |
| 24 | endif() |