[cfe-commits] r67604 - in /cfe/trunk: CMakeLists.txt tools/CMakeLists.txt tools/driver/CMakeLists.txt

Daniel Dunbar daniel at zuster.org
Mon Mar 23 19:52:57 PDT 2009


Author: ddunbar
Date: Mon Mar 23 21:52:57 2009
New Revision: 67604

URL: http://llvm.org/viewvc/llvm-project?rev=67604&view=rev
Log:
Add CMake files for tools/driver; I am just guessing here, can someone test/fix?

Added:
    cfe/trunk/tools/CMakeLists.txt
    cfe/trunk/tools/driver/CMakeLists.txt
Modified:
    cfe/trunk/CMakeLists.txt

Modified: cfe/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CMakeLists.txt?rev=67604&r1=67603&r2=67604&view=diff

==============================================================================
--- cfe/trunk/CMakeLists.txt (original)
+++ cfe/trunk/CMakeLists.txt Mon Mar 23 21:52:57 2009
@@ -52,5 +52,6 @@
 add_subdirectory(include)
 add_subdirectory(lib)
 add_subdirectory(Driver)
+add_subdirectory(tools)
 
 # TODO: docs.

Added: cfe/trunk/tools/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/CMakeLists.txt?rev=67604&view=auto

==============================================================================
--- cfe/trunk/tools/CMakeLists.txt (added)
+++ cfe/trunk/tools/CMakeLists.txt Mon Mar 23 21:52:57 2009
@@ -0,0 +1 @@
+add_subdirectory(driver)

Added: cfe/trunk/tools/driver/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/driver/CMakeLists.txt?rev=67604&view=auto

==============================================================================
--- cfe/trunk/tools/driver/CMakeLists.txt (added)
+++ cfe/trunk/tools/driver/CMakeLists.txt Mon Mar 23 21:52:57 2009
@@ -0,0 +1,10 @@
+set( LLVM_USED_LIBS
+  clangDriver
+  clangBasic
+  )
+
+set(LLVM_LINK_COMPONENTS system support bitreader bitwriter)
+
+add_clang_tool(clang-driver
+  driver.cpp
+  )





More information about the cfe-commits mailing list