1 # TODO: Add -maltivec when ARCH is PowerPC. 2 3 set(LLVM_LINK_COMPONENTS support) 4 5 set(LLVM_USED_LIBS clangBasic) 6 7 add_clang_library(clangLex 8 HeaderMap.cpp 9 HeaderSearch.cpp 10 Lexer.cpp 11 LiteralSupport.cpp 12 MacroArgs.cpp 13 MacroInfo.cpp 14 PPCaching.cpp 15 PPDirectives.cpp 16 PPExpressions.cpp 17 PPLexerChange.cpp 18 PPMacroExpansion.cpp 19 PTHLexer.cpp 20 Pragma.cpp 21 PreprocessingRecord.cpp 22 Preprocessor.cpp 23 PreprocessorLexer.cpp 24 ScratchBuffer.cpp 25 TokenConcatenation.cpp 26 TokenLexer.cpp 27 ) 28 29 add_dependencies(clangLex ClangDiagnosticLex ClangAttrSpellings) 30