aboutsummaryrefslogtreecommitdiffstats
path: root/unittests/MC/CMakeLists.txt
blob: c82bcde0b24d5907213075e8054f548822f3492b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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()