llvm-project/clang/tools/clang-offload-bundler/CMakeLists.txt

20 lines
342 B
CMake

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}
)