Move obj2yaml to tools to sort out make's dependencies.
[oota-llvm.git] / tools / obj2yaml / CMakeLists.txt
diff --git a/tools/obj2yaml/CMakeLists.txt b/tools/obj2yaml/CMakeLists.txt
new file mode 100644 (file)
index 0000000..d64bf1b
--- /dev/null
@@ -0,0 +1,7 @@
+set(LLVM_LINK_COMPONENTS archive object)
+
+add_llvm_utility(obj2yaml
+  obj2yaml.cpp coff2yaml.cpp
+  )
+
+target_link_libraries(obj2yaml LLVMSupport)