aboutsummaryrefslogtreecommitdiff
path: root/lib/CompilerDriver
diff options
context:
space:
mode:
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 2248de01b9..a12b3378aa 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
)