diff options
author | Ted Kremenek <kremenek@apple.com> | 2012-11-22 07:48:52 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2012-11-22 07:48:52 +0000 |
commit | 7462c12855be8f2fd027189de7213f7b844ec778 (patch) | |
tree | a649e7fd4e36bb6a47b2b8b69e29602d7434d2c3 /utils | |
parent | b47ec4087cc1d4cdc647cce7acf03b5c34f91722 (diff) | |
download | external_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-x | utils/UpdateCMakeLists.pl | 2 |
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); } |