mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-09 10:31:14 +00:00
961f1bb09e
The fix is easy. Unfortunately, we had 0 tests, so adding one was somewhat complicated. Thanks to Kevin Enderby for the report. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221899 91177308-0d34-0410-b5e6-96231b3b80d8
19 lines
368 B
CMake
19 lines
368 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
${LLVM_TARGETS_TO_BUILD}
|
|
MC
|
|
MCDisassembler
|
|
Support
|
|
)
|
|
|
|
add_llvm_unittest(MCTests
|
|
Disassembler.cpp
|
|
StringTableBuilderTest.cpp
|
|
YAMLTest.cpp
|
|
)
|
|
|
|
foreach(t ${LLVM_TARGETS_TO_BUILD})
|
|
if (IS_DIRECTORY "${CMAKE_CURRENT_LIST_DIR}/${t}")
|
|
add_subdirectory(${t})
|
|
endif (IS_DIRECTORY "${CMAKE_CURRENT_LIST_DIR}/${t}")
|
|
endforeach()
|