summaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/CMakeLists.txt
blob: 3844ba49add8dbfbd67fede5a165590daf5bfa0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
set(LLVM_LINK_COMPONENTS
  Support
  )

add_clang_unittest(BasicTests
  CharInfoTest.cpp
  DarwinSDKInfoTest.cpp
  DiagnosticTest.cpp
  FileEntryTest.cpp
  FileManagerTest.cpp
  LineOffsetMappingTest.cpp
  SanitizersTest.cpp
  SarifTest.cpp
  SourceManagerTest.cpp
  )

clang_target_link_libraries(BasicTests
  PRIVATE
  clangBasic
  clangLex
  )

target_link_libraries(BasicTests
  PRIVATE
  LLVMTestingSupport
)