[docs] Fix build-docs.sh
[llvm-project.git] / llvm / unittests / DebugInfo / DWARF / CMakeLists.txt
blob8b5c23c0b484421aaf0c79c5ff6ecc3937d5295c
1 set(LLVM_LINK_COMPONENTS
2   ${LLVM_TARGETS_TO_BUILD}
3   AsmPrinter
4   BinaryFormat
5   DebugInfoDWARF
6   MC
7   Object
8   ObjectYAML
9   Support
10   )
12 add_llvm_unittest(DebugInfoDWARFTests
13   DwarfGenerator.cpp
14   DwarfUtils.cpp
15   DWARFAcceleratorTableTest.cpp
16   DWARFDataExtractorTest.cpp
17   DWARFDebugArangeSetTest.cpp
18   DWARFDebugFrameTest.cpp
19   DWARFDebugInfoTest.cpp
20   DWARFDebugLineTest.cpp
21   DWARFDieTest.cpp
22   DWARFDieManualExtractTest.cpp
23   DWARFExpressionCopyBytesTest.cpp
24   DWARFExpressionCompactPrinterTest.cpp
25   DWARFFormValueTest.cpp
26   DWARFListTableTest.cpp
27   DWARFLocationExpressionTest.cpp
28   )
30 target_link_libraries(DebugInfoDWARFTests PRIVATE LLVMTestingSupport)
32 set_property(TARGET DebugInfoDWARFTests PROPERTY FOLDER "Tests/UnitTests/DebugInfoTests")