summaryrefslogtreecommitdiffstats
path: root/llvm/lib/LibDriver/CMakeLists.txt
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2015-06-09 21:50:22 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2015-06-09 21:50:22 +0000
commitbc05163f15cdff70cf2be97d8f48af08b5e87ea5 (patch)
tree39c799c35f948f949806bd4c83a7ae79f62c085f /llvm/lib/LibDriver/CMakeLists.txt
parentf12c030f4879e2bf2caca21976f5de9ba8c48bdd (diff)
downloadbcm5719-llvm-bc05163f15cdff70cf2be97d8f48af08b5e87ea5.tar.gz
bcm5719-llvm-bc05163f15cdff70cf2be97d8f48af08b5e87ea5.zip
LibDriver, llvm-lib: introduce.
llvm-lib is intended to be a lib.exe compatible utility that also understands bitcode. The implementation lives in a library so that lld can use it to implement /lib. Differential Revision: http://reviews.llvm.org/D10297 llvm-svn: 239434
Diffstat (limited to 'llvm/lib/LibDriver/CMakeLists.txt')
-rw-r--r--llvm/lib/LibDriver/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/lib/LibDriver/CMakeLists.txt b/llvm/lib/LibDriver/CMakeLists.txt
new file mode 100644
index 00000000000..ab53a684344
--- /dev/null
+++ b/llvm/lib/LibDriver/CMakeLists.txt
@@ -0,0 +1,8 @@
+set(LLVM_TARGET_DEFINITIONS Options.td)
+tablegen(LLVM Options.inc -gen-opt-parser-defs)
+add_public_tablegen_target(LibOptionsTableGen)
+
+add_llvm_library(LLVMLibDriver
+ LibDriver.cpp
+ )
+add_dependencies(LLVMLibDriver LibOptionsTableGen)
OpenPOWER on IntegriCloud