summaryrefslogtreecommitdiff
path: root/gnu/llvm/clang/tools/clang-offload-packager/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/llvm/clang/tools/clang-offload-packager/CMakeLists.txt')
-rw-r--r--gnu/llvm/clang/tools/clang-offload-packager/CMakeLists.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/llvm/clang/tools/clang-offload-packager/CMakeLists.txt b/gnu/llvm/clang/tools/clang-offload-packager/CMakeLists.txt
new file mode 100644
index 00000000000..accc9486f46
--- /dev/null
+++ b/gnu/llvm/clang/tools/clang-offload-packager/CMakeLists.txt
@@ -0,0 +1,19 @@
+set(LLVM_LINK_COMPONENTS
+ ${LLVM_TARGETS_TO_BUILD}
+ BinaryFormat
+ Object
+ Support)
+
+add_clang_tool(clang-offload-packager
+ ClangOffloadPackager.cpp
+
+ DEPENDS
+ ${tablegen_deps}
+ )
+
+add_dependencies(clang clang-offload-packager)
+
+clang_target_link_libraries(clang-offload-packager
+ PRIVATE
+ clangBasic
+ )