[llvm-commits] [llvm] r127554 - in /llvm/trunk/lib: CMakeLists.txt CompilerDriver/CMakeLists.txt

Oscar Fuentes ofv at wanadoo.es
Sat Mar 12 14:01:42 PST 2011


Author: ofv
Date: Sat Mar 12 16:01:42 2011
New Revision: 127554

URL: http://llvm.org/viewvc/llvm-project?rev=127554&view=rev
Log:
Build CompilerDriver library.

Modified:
    llvm/trunk/lib/CMakeLists.txt
    llvm/trunk/lib/CompilerDriver/CMakeLists.txt

Modified: llvm/trunk/lib/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CMakeLists.txt?rev=127554&r1=127553&r2=127554&view=diff
==============================================================================
--- llvm/trunk/lib/CMakeLists.txt (original)
+++ llvm/trunk/lib/CMakeLists.txt Sat Mar 12 16:01:42 2011
@@ -7,6 +7,7 @@
 add_subdirectory(Linker)
 add_subdirectory(Analysis)
 add_subdirectory(MC)
+add_subdirectory(CompilerDriver)
 add_subdirectory(Object)
 add_subdirectory(ExecutionEngine)
 add_subdirectory(Target)

Modified: llvm/trunk/lib/CompilerDriver/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CompilerDriver/CMakeLists.txt?rev=127554&r1=127553&r2=127554&view=diff
==============================================================================
--- llvm/trunk/lib/CompilerDriver/CMakeLists.txt (original)
+++ llvm/trunk/lib/CompilerDriver/CMakeLists.txt Sat Mar 12 16:01:42 2011
@@ -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
   )





More information about the llvm-commits mailing list