1set(LLVM_LINK_COMPONENTS BitWriter Core Support TransformUtils)
2
3add_clang_tool(clang-offload-wrapper
4  ClangOffloadWrapper.cpp
5
6  DEPENDS
7  intrinsics_gen
8  )
9
10set(CLANG_OFFLOAD_WRAPPER_LIB_DEPS
11  clangBasic
12  )
13
14add_dependencies(clang clang-offload-wrapper)
15
16clang_target_link_libraries(clang-offload-wrapper
17  PRIVATE
18  ${CLANG_OFFLOAD_WRAPPER_LIB_DEPS}
19  )
20