projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move the enum attributes defined in Attributes.h to a table-gen file.
[oota-llvm.git]
/
utils
/
UpdateCMakeLists.pl
diff --git
a/utils/UpdateCMakeLists.pl
b/utils/UpdateCMakeLists.pl
index 8f535145de3115959ee1a3db793d5fa0f63aa417..c896ea839be88521f74ea749b97b87c1a4b7595a 100755
(executable)
--- a/
utils/UpdateCMakeLists.pl
+++ b/
utils/UpdateCMakeLists.pl
@@
-68,8
+68,7
@@
sub UpdateCMake {
while(<IN>) {
if (!$foundLibrary) {
print OUT $_;
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);
}
$foundLibrary = 1;
EmitCMakeList($dir);
}