blob: 0a2ffdbf232d7f55b639dcd2133d37779775aa2d [file] [log] [blame]
# 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)