blob: aa2c93af8ba7ee88409bd0c15cd6c48fe18a9811 [file] [log] [blame]
set(LLVM_NO_RTTI 1)
# TODO: Add -maltivec when ARCH is PowerPC.
set(LLVM_USED_LIBS clangBasic)
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
PTHLexer.cpp
Pragma.cpp
PreprocessingRecord.cpp
Preprocessor.cpp
PreprocessorLexer.cpp
ScratchBuffer.cpp
TokenConcatenation.cpp
TokenLexer.cpp
)
add_dependencies(clangLex ClangDiagnosticLex ClangAttrSpellings)