aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CompilerDriver
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2011-03-12 22:01:42 +0000
committerOscar Fuentes <ofv@wanadoo.es>2011-03-12 22:01:42 +0000
commit255d0253df2e3ef7f52dbeba40ec7ce56077137e (patch)
tree2550b003df28f5a0974b2594bfdfff1cf104c0c4 /lib/CompilerDriver
parent8e3db304c19defbbd686104950fe22d1c149cce1 (diff)
downloadexternal_llvm-255d0253df2e3ef7f52dbeba40ec7ce56077137e.zip
external_llvm-255d0253df2e3ef7f52dbeba40ec7ce56077137e.tar.gz
external_llvm-255d0253df2e3ef7f52dbeba40ec7ce56077137e.tar.bz2
Build CompilerDriver library.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127554 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CompilerDriver')
-rw-r--r--lib/CompilerDriver/CMakeLists.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/CompilerDriver/CMakeLists.txt b/lib/CompilerDriver/CMakeLists.txt
index 2248de0..a12b337 100644
--- a/lib/CompilerDriver/CMakeLists.txt
+++ b/lib/CompilerDriver/CMakeLists.txt
@@ -1,10 +1,12 @@
set(LLVM_LINK_COMPONENTS support)
-set(LLVM_REQUIRES_EH 1)
-add_llvm_tool(llvmc
+# We don't want this library to appear in `llvm-config --libs` output,
+# so its name doesn't start with "LLVM".
+
+add_llvm_library(CompilerDriver
Action.cpp
+ BuiltinOptions.cpp
CompilationGraph.cpp
- llvmc.cpp
- Plugin.cpp
+ Main.cpp
Tool.cpp
)