Build CompilerDriver library.
authorOscar Fuentes <ofv@wanadoo.es>
Sat, 12 Mar 2011 22:01:42 +0000 (22:01 +0000)
committerOscar Fuentes <ofv@wanadoo.es>
Sat, 12 Mar 2011 22:01:42 +0000 (22:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127554 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CMakeLists.txt
lib/CompilerDriver/CMakeLists.txt

index e2838c373a39b4af188e88d9f92786381f7be260..80118f081913660434083cabb8372d1e48bf5814 100644 (file)
@@ -7,6 +7,7 @@ add_subdirectory(Transforms)
 add_subdirectory(Linker)
 add_subdirectory(Analysis)
 add_subdirectory(MC)
+add_subdirectory(CompilerDriver)
 add_subdirectory(Object)
 add_subdirectory(ExecutionEngine)
 add_subdirectory(Target)
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
   )