mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-19 00:06:49 +00:00

As 'LLVM_TARGETS_TO_BUILD' control which targets are enabled, the lines: AllTargetsDescs AllTargetsDisassemblers AllTargetsInfos are redundant.
28 lines
604 B
CMake
28 lines
604 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
${LLVM_TARGETS_TO_BUILD}
|
|
AsmPrinter
|
|
DebugInfoDWARF
|
|
DebugInfoLogicalView
|
|
MC
|
|
MCDisassembler
|
|
Object
|
|
TargetParser
|
|
)
|
|
|
|
add_llvm_unittest_with_input_files(DebugInfoLogicalViewTests
|
|
../DWARF/DwarfGenerator.cpp
|
|
../DWARF/DwarfUtils.cpp
|
|
CodeViewReaderTest.cpp
|
|
CommandLineOptionsTest.cpp
|
|
CompareElementsTest.cpp
|
|
DWARFGeneratedTest.cpp
|
|
DWARFReaderTest.cpp
|
|
SelectElementsTest.cpp
|
|
LocationRangesTest.cpp
|
|
LogicalElementsTest.cpp
|
|
StringPoolTest.cpp
|
|
WarningInternalTest.cpp
|
|
)
|
|
|
|
target_link_libraries(DebugInfoLogicalViewTests PRIVATE LLVMTestingSupport)
|