forked from OSchip/llvm-project
24 lines
420 B
CMake
24 lines
420 B
CMake
set(LLVM_LINK_COMPONENTS Object Support)
|
|
|
|
if(NOT CLANG_BUILT_STANDALONE)
|
|
set(tablegen_deps intrinsics_gen)
|
|
endif()
|
|
|
|
add_clang_tool(clang-offload-bundler
|
|
ClangOffloadBundler.cpp
|
|
|
|
DEPENDS
|
|
${tablegen_deps}
|
|
)
|
|
|
|
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}
|
|
)
|