From 255d0253df2e3ef7f52dbeba40ec7ce56077137e Mon Sep 17 00:00:00 2001 From: Oscar Fuentes Date: Sat, 12 Mar 2011 22:01:42 +0000 Subject: Build CompilerDriver library. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127554 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CMakeLists.txt | 1 + lib/CompilerDriver/CMakeLists.txt | 10 ++++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index e2838c3..80118f0 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -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) 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 ) -- cgit v1.1