projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
789f722
)
llvmbuild: Exclude disabled targets from LLVMExports.cmake.
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Sun, 16 Feb 2014 12:14:24 +0000
(12:14 +0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Sun, 16 Feb 2014 12:14:24 +0000
(12:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201490
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/llvm-build/llvmbuild/main.py
patch
|
blob
|
history
diff --git
a/utils/llvm-build/llvmbuild/main.py
b/utils/llvm-build/llvmbuild/main.py
index 2a1024774317d90caedca27ea4915f4a345a03c5..6cb5c12f3541a019777355b425def62283c18e25 100644
(file)
--- a/
utils/llvm-build/llvmbuild/main.py
+++ b/
utils/llvm-build/llvmbuild/main.py
@@
-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(