CMake: Builds and installs clang binary and libs (no docs yet). It
must be under the `tools' subdirectory of the LLVM *source* tree.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58180 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Driver/CMakeLists.txt b/Driver/CMakeLists.txt
new file mode 100644
index 0000000..f0d8ae7
--- /dev/null
+++ b/Driver/CMakeLists.txt
@@ -0,0 +1,40 @@
+set(LLVM_NO_RTTI 1)
+
+set( LLVM_USED_LIBS
+  clangCodeGen
+  clangAnalysis
+  clangRewrite
+  clangSema
+  clangDriver
+  clangAST
+  clangParse
+  clangLex
+  clangBasic
+  )
+
+set( LLVM_LINK_COMPONENTS
+  ${LLVM_TARGETS_TO_BUILD}
+  bitreader
+  bitwriter
+  codegen
+  ipo
+  selectiondag
+  )
+
+add_clang_executable(clang
+  AnalysisConsumer.cpp
+  ASTConsumers.cpp
+  Backend.cpp
+  CacheTokens.cpp
+  clang.cpp
+  DependencyFile.cpp
+  DiagChecker.cpp
+  HTMLPrint.cpp
+  PrintParserCallbacks.cpp
+  PrintPreprocessedOutput.cpp
+  RewriteBlocks.cpp
+  RewriteMacros.cpp
+  RewriteObjC.cpp
+  RewriteTest.cpp
+  SerializationTest.cpp
+  )