Build CompilerDriver library.
[oota-llvm.git] / lib / CompilerDriver / CMakeLists.txt
index 2248de01b954ec88d40a0db390640889a9940b4f..a12b3378aaf22463e58bf852a2d6d425045c390a 100644 (file)
@@ -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
   )