llvm-for-llvmta/unittests/MC/CMakeLists.txt

23 lines
395 B
CMake
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
foreach(t ${LLVM_TARGETS_TO_BUILD})
if(IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${t})
add_subdirectory(${t})
endif()
endforeach()
set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
MC
MCDisassembler
Support
)
add_llvm_unittest(MCTests
Disassembler.cpp
DwarfLineTables.cpp
MCInstPrinter.cpp
StringTableBuilderTest.cpp
TargetRegistry.cpp
MCDisassemblerTest.cpp
)