31 lines
523 B
Text
31 lines
523 B
Text
|
set(LLVM_LINK_COMPONENTS
|
||
|
Support
|
||
|
)
|
||
|
|
||
|
add_clang_unittest(LexTests
|
||
|
DependencyDirectivesScannerTest.cpp
|
||
|
HeaderMapTest.cpp
|
||
|
HeaderSearchTest.cpp
|
||
|
LexerTest.cpp
|
||
|
ModuleDeclStateTest.cpp
|
||
|
PPCallbacksTest.cpp
|
||
|
PPConditionalDirectiveRecordTest.cpp
|
||
|
PPDependencyDirectivesTest.cpp
|
||
|
PPMemoryAllocationsTest.cpp
|
||
|
)
|
||
|
|
||
|
clang_target_link_libraries(LexTests
|
||
|
PRIVATE
|
||
|
clangAST
|
||
|
clangBasic
|
||
|
clangLex
|
||
|
clangParse
|
||
|
clangSema
|
||
|
)
|
||
|
|
||
|
target_link_libraries(LexTests
|
||
|
PRIVATE
|
||
|
LLVMTestingAnnotations
|
||
|
LLVMTestingSupport
|
||
|
)
|