From f27e5a09a0d815b8a4814152954ff87dadfdefc0 Mon Sep 17 00:00:00 2001 From: ed Date: Tue, 2 Jun 2009 17:58:47 +0000 Subject: Import Clang, at r72732. --- lib/Lex/CMakeLists.txt | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 lib/Lex/CMakeLists.txt (limited to 'lib/Lex/CMakeLists.txt') diff --git a/lib/Lex/CMakeLists.txt b/lib/Lex/CMakeLists.txt new file mode 100644 index 0000000..a7237a7 --- /dev/null +++ b/lib/Lex/CMakeLists.txt @@ -0,0 +1,26 @@ +set(LLVM_NO_RTTI 1) + +# TODO: Add -maltivec when ARCH is PowerPC. + +add_clang_library(clangLex + HeaderMap.cpp + HeaderSearch.cpp + Lexer.cpp + LiteralSupport.cpp + MacroArgs.cpp + MacroInfo.cpp + PPCaching.cpp + PPDirectives.cpp + PPExpressions.cpp + PPLexerChange.cpp + PPMacroExpansion.cpp + Pragma.cpp + Preprocessor.cpp + PreprocessorLexer.cpp + PTHLexer.cpp + ScratchBuffer.cpp + TokenLexer.cpp + TokenConcatenation.cpp + ) + +add_dependencies(clangLex ClangDiagnosticLex) -- cgit v1.1