[libc] Deprecate LLVM_ENABLE_PROJECTS in favor of LLVM_ENABLE_RUNTIMES. (#117265)
[llvm-project.git] / llvm / unittests / DebugInfo / DWARF / CMakeLists.txt
blob0c5b3f28ca3d5adeec05a0cb3b19983eac30784e
1 set(LLVM_LINK_COMPONENTS
2   ${LLVM_TARGETS_TO_BUILD}
3   AsmPrinter
4   BinaryFormat
5   CodeGenTypes
6   DebugInfoDWARF
7   MC
8   Object
9   ObjectYAML
10   Support
11   TargetParser
12   )
14 add_llvm_unittest(DebugInfoDWARFTests
15   DwarfGenerator.cpp
16   DwarfUtils.cpp
17   DWARFAcceleratorTableTest.cpp
18   DWARFDataExtractorTest.cpp
19   DWARFDebugAbbrevTest.cpp
20   DWARFDebugArangeSetTest.cpp
21   DWARFDebugFrameTest.cpp
22   DWARFDebugInfoTest.cpp
23   DWARFDebugLineTest.cpp
24   DWARFDieTest.cpp
25   DWARFDieManualExtractTest.cpp
26   DWARFExpressionCopyBytesTest.cpp
27   DWARFExpressionCompactPrinterTest.cpp
28   DWARFFormValueTest.cpp
29   DWARFListTableTest.cpp
30   DWARFLocationExpressionTest.cpp
31   )
33 target_link_libraries(DebugInfoDWARFTests PRIVATE LLVMTestingSupport)