Oscar Fuentes | 07d9f9a | 2008-10-26 00:56:18 +0000 | [diff] [blame] | 1 | # TODO: Add -maltivec when ARCH is PowerPC. |
2 | |||||
Jeffrey Yasskin | c498878 | 2011-02-11 23:46:38 +0000 | [diff] [blame] | 3 | set(LLVM_LINK_COMPONENTS support) |
4 | |||||
Oscar Fuentes | 07d9f9a | 2008-10-26 00:56:18 +0000 | [diff] [blame] | 5 | add_clang_library(clangLex |
6 | HeaderMap.cpp | ||||
7 | HeaderSearch.cpp | ||||
8 | Lexer.cpp | ||||
9 | LiteralSupport.cpp | ||||
10 | MacroArgs.cpp | ||||
11 | MacroInfo.cpp | ||||
Douglas Gregor | 718292f | 2011-11-11 19:10:28 +0000 | [diff] [blame] | 12 | ModuleMap.cpp |
Oscar Fuentes | 07d9f9a | 2008-10-26 00:56:18 +0000 | [diff] [blame] | 13 | PPCaching.cpp |
Chandler Carruth | 1c032e0 | 2011-12-20 08:42:15 +0000 | [diff] [blame] | 14 | PPCallbacks.cpp |
Oscar Fuentes | 07d9f9a | 2008-10-26 00:56:18 +0000 | [diff] [blame] | 15 | PPDirectives.cpp |
16 | PPExpressions.cpp | ||||
17 | PPLexerChange.cpp | ||||
18 | PPMacroExpansion.cpp | ||||
Ted Kremenek | 3e808ed | 2009-07-15 21:08:41 +0000 | [diff] [blame] | 19 | PTHLexer.cpp |
Oscar Fuentes | 07d9f9a | 2008-10-26 00:56:18 +0000 | [diff] [blame] | 20 | Pragma.cpp |
Douglas Gregor | 065f8d1 | 2010-03-18 17:52:52 +0000 | [diff] [blame] | 21 | PreprocessingRecord.cpp |
Oscar Fuentes | 07d9f9a | 2008-10-26 00:56:18 +0000 | [diff] [blame] | 22 | Preprocessor.cpp |
Oscar Fuentes | 77543d9 | 2008-11-19 18:46:39 +0000 | [diff] [blame] | 23 | PreprocessorLexer.cpp |
Oscar Fuentes | 07d9f9a | 2008-10-26 00:56:18 +0000 | [diff] [blame] | 24 | ScratchBuffer.cpp |
Mike Stump | 57d7354 | 2009-02-13 15:42:50 +0000 | [diff] [blame] | 25 | TokenConcatenation.cpp |
Ted Kremenek | 3e808ed | 2009-07-15 21:08:41 +0000 | [diff] [blame] | 26 | TokenLexer.cpp |
Oscar Fuentes | 07d9f9a | 2008-10-26 00:56:18 +0000 | [diff] [blame] | 27 | ) |
Douglas Gregor | 23d75bb | 2009-03-16 23:06:59 +0000 | [diff] [blame] | 28 | |
Chandler Carruth | 28969b4 | 2012-06-21 01:30:21 +0000 | [diff] [blame^] | 29 | add_dependencies(clangLex |
30 | ClangDiagnosticLex | ||||
31 | ClangAttrSpellings | ||||
32 | ) | ||||
33 | |||||
34 | target_link_libraries(clangLex | ||||
35 | clangBasic | ||||
36 | ) |