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