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:
b47ec40
)
Generalize matching of add_executable to add_XXX_executable.
author
Ted Kremenek
<kremenek@apple.com>
Thu, 22 Nov 2012 07:48:52 +0000
(07:48 +0000)
committer
Ted Kremenek
<kremenek@apple.com>
Thu, 22 Nov 2012 07:48:52 +0000
(07:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168490
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/UpdateCMakeLists.pl
patch
|
blob
|
history
diff --git
a/utils/UpdateCMakeLists.pl
b/utils/UpdateCMakeLists.pl
index d92a767adf328b4194595deb4033c4d16a09f58f..c896ea839be88521f74ea749b97b87c1a4b7595a 100755
(executable)
--- a/
utils/UpdateCMakeLists.pl
+++ b/
utils/UpdateCMakeLists.pl
@@
-68,7
+68,7
@@
sub UpdateCMake {
while(<IN>) {
if (!$foundLibrary) {
print OUT $_;
- if (/^add_[^_]+_library\(/ || /^add_llvm_target\(/ || /^add_executable\(/) {
+ if (/^add_[^_]+_library\(/ || /^add_llvm_target\(/ || /^add_
[^_]+_
executable\(/) {
$foundLibrary = 1;
EmitCMakeList($dir);
}