llvm.org GIT mirror llvm / a938c51
llvmbuild: Exclude disabled targets from LLVMExports.cmake. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201490 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 5 years ago
1 changed file(s) with 5 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
596596 for ci in self.ordered_component_infos:
597597 # We only write the information for libraries currently.
598598 if ci.type_name != 'Library':
599 continue
600
601 # Skip disabled targets.
602 tg = ci.get_parent_target_group()
603 if tg and not tg.enabled:
599604 continue
600605
601606 f.write("""\