2020-03-23 23:56:02 +08:00
|
|
|
foreach(t ${LLVM_TARGETS_TO_BUILD})
|
|
|
|
if(IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${t})
|
|
|
|
add_subdirectory(${t})
|
|
|
|
endif()
|
|
|
|
endforeach()
|
|
|
|
|
2013-10-17 02:26:16 +08:00
|
|
|
set(LLVM_LINK_COMPONENTS
|
2014-11-14 00:52:07 +08:00
|
|
|
${LLVM_TARGETS_TO_BUILD}
|
2014-07-14 13:01:53 +08:00
|
|
|
MC
|
2014-11-14 00:52:07 +08:00
|
|
|
MCDisassembler
|
2014-07-14 13:01:53 +08:00
|
|
|
Support
|
2013-10-17 02:26:16 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
add_llvm_unittest(MCTests
|
2014-11-14 00:52:07 +08:00
|
|
|
Disassembler.cpp
|
2016-02-01 06:06:35 +08:00
|
|
|
DwarfLineTables.cpp
|
2019-09-06 09:13:32 +08:00
|
|
|
MCInstPrinter.cpp
|
2014-07-03 10:01:39 +08:00
|
|
|
StringTableBuilderTest.cpp
|
2016-02-04 05:41:24 +08:00
|
|
|
TargetRegistry.cpp
|
2013-10-17 02:26:16 +08:00
|
|
|
)
|
2020-03-23 18:56:51 +08:00
|
|
|
|