llvm-project/clang/lib/Lex/CMakeLists.txt

39 lines
683 B
CMake
Raw Normal View History

# 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
PTHLexer.cpp
Pragma.cpp
PreprocessingRecord.cpp
Preprocessor.cpp
PreprocessorLexer.cpp
ScratchBuffer.cpp
2009-02-13 23:42:50 +08:00
TokenConcatenation.cpp
TokenLexer.cpp
)
add_dependencies(clangLex
ClangAttrSpellings
ClangDiagnosticCommon
ClangDiagnosticLex
)
target_link_libraries(clangLex
clangBasic
)