projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36bcc11
)
Use regex instead of special casing clang and llvm libraries.
author
Ted Kremenek
<kremenek@apple.com>
Tue, 31 Jul 2012 18:23:44 +0000
(18:23 +0000)
committer
Ted Kremenek
<kremenek@apple.com>
Tue, 31 Jul 2012 18:23:44 +0000
(18:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161065
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/UpdateCMakeLists.pl
patch
|
blob
|
history
diff --git
a/utils/UpdateCMakeLists.pl
b/utils/UpdateCMakeLists.pl
index 8f535145de3115959ee1a3db793d5fa0f63aa417..d92a767adf328b4194595deb4033c4d16a09f58f 100755
(executable)
--- a/
utils/UpdateCMakeLists.pl
+++ b/
utils/UpdateCMakeLists.pl
@@
-68,8
+68,7
@@
sub UpdateCMake {
while(<IN>) {
if (!$foundLibrary) {
print OUT $_;
- if (/^add_clang_library\(/ || /^add_llvm_library\(/ || /^add_llvm_target\(/
- || /^add_executable\(/) {
+ if (/^add_[^_]+_library\(/ || /^add_llvm_target\(/ || /^add_executable\(/) {
$foundLibrary = 1;
EmitCMakeList($dir);
}