# already processed
elseif( c STREQUAL "all" )
list(APPEND expanded_components ${LLVM_AVAILABLE_LIBS})
+ elseif( c STREQUAL "AllTargetsAsmPrinters" )
+ # Link all the asm printers from all the targets
+ foreach(t ${LLVM_TARGETS_TO_BUILD})
+ if( TARGET LLVM${t}AsmPrinter )
+ list(APPEND expanded_components "LLVM${t}AsmPrinter")
+ endif()
+ endforeach(t)
+ elseif( c STREQUAL "AllTargetsAsmParsers" )
+ # Link all the asm parsers from all the targets
+ foreach(t ${LLVM_TARGETS_TO_BUILD})
+ if( TARGET LLVM${t}AsmParser )
+ list(APPEND expanded_components "LLVM${t}AsmParser")
+ endif()
+ endforeach(t)
+ elseif( c STREQUAL "AllTargetsDescs" )
+ # Link all the descs from all the targets
+ foreach(t ${LLVM_TARGETS_TO_BUILD})
+ if( TARGET LLVM${t}Desc )
+ list(APPEND expanded_components "LLVM${t}Desc")
+ endif()
+ endforeach(t)
+ elseif( c STREQUAL "AllTargetsDisassemblers" )
+ # Link all the disassemblers from all the targets
+ foreach(t ${LLVM_TARGETS_TO_BUILD})
+ if( TARGET LLVM${t}Disassembler )
+ list(APPEND expanded_components "LLVM${t}Disassembler")
+ endif()
+ endforeach(t)
+ elseif( c STREQUAL "AllTargetsInfos" )
+ # Link all the infos from all the targets
+ foreach(t ${LLVM_TARGETS_TO_BUILD})
+ if( TARGET LLVM${t}Info )
+ list(APPEND expanded_components "LLVM${t}Info")
+ endif()
+ endforeach(t)
else( NOT idx LESS 0 )
# Canonize the component name:
string(TOUPPER "${c}" capitalized)