clang/tools/clang-offload-bundler/CMakeLists.txt
raw| 1 | set(LLVM_LINK_COMPONENTS |
| 2 | BinaryFormat |
| 3 | Object |
| 4 | Support |
| 5 | TargetParser |
| 6 | ) |
| 7 | |
| 8 | add_clang_tool(clang-offload-bundler |
| 9 | ClangOffloadBundler.cpp |
| 10 | |
| 11 | DEPENDS |
| 12 | intrinsics_gen |
| 13 | ) |
| 14 | |
| 15 | set(CLANG_OFFLOAD_BUNDLER_LIB_DEPS |
| 16 | clangBasic |
| 17 | clangDriver |
| 18 | ) |
| 19 | |
| 20 | clang_target_link_libraries(clang-offload-bundler |
| 21 | PRIVATE |
| 22 | ${CLANG_OFFLOAD_BUNDLER_LIB_DEPS} |
| 23 | ) |