From 222e2a7620e6520ffaf4fc4e69d79c18da31542e Mon Sep 17 00:00:00 2001 From: "Zancanaro; Carlo" Date: Mon, 24 Sep 2012 09:58:17 +1000 Subject: Add the clang library to the repo (with some of my changes, too). --- clang/lib/Lex/CMakeLists.txt | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 clang/lib/Lex/CMakeLists.txt (limited to 'clang/lib/Lex/CMakeLists.txt') diff --git a/clang/lib/Lex/CMakeLists.txt b/clang/lib/Lex/CMakeLists.txt new file mode 100644 index 0000000..0a2ffdb --- /dev/null +++ b/clang/lib/Lex/CMakeLists.txt @@ -0,0 +1,31 @@ +# TODO: Add -maltivec when ARCH is PowerPC. + +set(LLVM_LINK_COMPONENTS support) + +set(LLVM_USED_LIBS clangBasic) + +add_clang_library(clangLex + HeaderMap.cpp + HeaderSearch.cpp + Lexer.cpp + LiteralSupport.cpp + MacroArgs.cpp + MacroInfo.cpp + ModuleMap.cpp + PPCaching.cpp + PPCallbacks.cpp + PPDirectives.cpp + PPExpressions.cpp + PPLexerChange.cpp + PPMacroExpansion.cpp + PTHLexer.cpp + Pragma.cpp + PreprocessingRecord.cpp + Preprocessor.cpp + PreprocessorLexer.cpp + ScratchBuffer.cpp + TokenConcatenation.cpp + TokenLexer.cpp + ) + +add_dependencies(clangLex ClangDiagnosticLex ClangAttrSpellings) -- cgit v1.2.3