1# TODO: Add -maltivec when ARCH is PowerPC. 2 3set(LLVM_LINK_COMPONENTS support) 4 5add_clang_library(clangLex 6 HeaderMap.cpp 7 HeaderSearch.cpp 8 Lexer.cpp 9 LiteralSupport.cpp 10 MacroArgs.cpp 11 MacroInfo.cpp 12 ModuleMap.cpp 13 PPCaching.cpp 14 PPCallbacks.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 29add_dependencies(clangLex 30 ClangAttrSpellings 31 ClangDiagnosticCommon 32 ClangDiagnosticLex 33 ) 34 35target_link_libraries(clangLex 36 clangBasic 37 ) 38