mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-26 19:36:28 +00:00
llvmbuild: Exclude disabled targets from LLVMExports.cmake.
llvm-svn: 201490
This commit is contained in:
parent
7a00ff3830
commit
4c0116cb75
@ -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