llvm-project/llvm/unittests/MC/CMakeLists.txt

16 lines
305 B
CMake
Raw Normal View History

set(LLVM_LINK_COMPONENTS
MC
Support
)
add_llvm_unittest(MCTests
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()