forked from OSchip/llvm-project
31 lines
548 B
CMake
31 lines
548 B
CMake
# TODO: Add -maltivec when ARCH is PowerPC.
|
|
|
|
set(LLVM_LINK_COMPONENTS support)
|
|
|
|
add_clang_library(clangLex
|
|
HeaderMap.cpp
|
|
HeaderSearch.cpp
|
|
Lexer.cpp
|
|
LiteralSupport.cpp
|
|
MacroArgs.cpp
|
|
MacroInfo.cpp
|
|
ModuleMap.cpp
|
|
PPCaching.cpp
|
|
PPCallbacks.cpp
|
|
PPConditionalDirectiveRecord.cpp
|
|
PPDirectives.cpp
|
|
PPExpressions.cpp
|
|
PPLexerChange.cpp
|
|
PPMacroExpansion.cpp
|
|
Pragma.cpp
|
|
PreprocessingRecord.cpp
|
|
Preprocessor.cpp
|
|
PreprocessorLexer.cpp
|
|
ScratchBuffer.cpp
|
|
TokenConcatenation.cpp
|
|
TokenLexer.cpp
|
|
|
|
LINK_LIBS
|
|
clangBasic
|
|
)
|