summaryrefslogtreecommitdiff
path: root/gnu/llvm/clang/tools/clang-offload-bundler/CMakeLists.txt
blob: 2738bf02e729fe858386d499c7b980e2f00dadc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
set(LLVM_LINK_COMPONENTS Object Support)

add_clang_tool(clang-offload-bundler
  ClangOffloadBundler.cpp
  
  DEPENDS
  intrinsics_gen
  )

set(CLANG_OFFLOAD_BUNDLER_LIB_DEPS
  clangBasic
  )
  
add_dependencies(clang clang-offload-bundler)

clang_target_link_libraries(clang-offload-bundler
  PRIVATE
  ${CLANG_OFFLOAD_BUNDLER_LIB_DEPS}
  )