mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-05 01:31:05 +00:00
llvmbuild: Exclude disabled targets from LLVMExports.cmake.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201490 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
789f722abd
commit
a938c51444
@ -599,6 +599,11 @@ set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_%s %s)\n""" % (
|
||||
if ci.type_name != 'Library':
|
||||
continue
|
||||
|
||||
# Skip disabled targets.
|
||||
tg = ci.get_parent_target_group()
|
||||
if tg and not tg.enabled:
|
||||
continue
|
||||
|
||||
f.write("""\
|
||||
set_property(TARGET %s PROPERTY IMPORTED_LINK_INTERFACE_LIBRARIES %s)\n""" % (
|
||||
ci.get_prefixed_library_name(), " ".join(sorted(
|
||||
|
Loading…
x
Reference in New Issue
Block a user