| 1 |
set(LLVM_LINK_COMPONENTS |
| 2 |
Support |
| 3 |
) |
| 4 |
|
| 5 |
add_clang_unittest(LexTests |
| 6 |
DependencyDirectivesScannerTest.cpp |
| 7 |
HeaderMapTest.cpp |
| 8 |
HeaderSearchTest.cpp |
| 9 |
LexerTest.cpp |
| 10 |
ModuleDeclStateTest.cpp |
| 11 |
PPCallbacksTest.cpp |
| 12 |
PPConditionalDirectiveRecordTest.cpp |
| 13 |
PPDependencyDirectivesTest.cpp |
| 14 |
PPMemoryAllocationsTest.cpp |
| 15 |
) |
| 16 |
|
| 17 |
clang_target_link_libraries(LexTests |
| 18 |
PRIVATE |
| 19 |
clangAST |
| 20 |
clangBasic |
| 21 |
clangFrontend |
| 22 |
clangLex |
| 23 |
clangParse |
| 24 |
clangSema |
| 25 |
) |
| 26 |
|
| 27 |
target_link_libraries(LexTests |
| 28 |
PRIVATE |
| 29 |
LLVMTestingSupport |
| 30 |
) |