aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2012-11-22 07:48:52 +0000
committerTed Kremenek <kremenek@apple.com>2012-11-22 07:48:52 +0000
commit7462c12855be8f2fd027189de7213f7b844ec778 (patch)
treea649e7fd4e36bb6a47b2b8b69e29602d7434d2c3 /utils
parentb47ec4087cc1d4cdc647cce7acf03b5c34f91722 (diff)
downloadexternal_llvm-7462c12855be8f2fd027189de7213f7b844ec778.zip
external_llvm-7462c12855be8f2fd027189de7213f7b844ec778.tar.gz
external_llvm-7462c12855be8f2fd027189de7213f7b844ec778.tar.bz2
Generalize matching of add_executable to add_XXX_executable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168490 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rwxr-xr-xutils/UpdateCMakeLists.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/UpdateCMakeLists.pl b/utils/UpdateCMakeLists.pl
index d92a767..c896ea8 100755
--- 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);
}