1foreach(t ${LLVM_TARGETS_TO_BUILD}) 2 if(IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${t}) 3 add_subdirectory(${t}) 4 endif() 5endforeach() 6