From: Ted Kremenek Date: Thu, 22 Nov 2012 07:48:52 +0000 (+0000) Subject: Generalize matching of add_executable to add_XXX_executable. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7462c12855be8f2fd027189de7213f7b844ec778;p=oota-llvm.git 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 --- diff --git a/utils/UpdateCMakeLists.pl b/utils/UpdateCMakeLists.pl index d92a767adf3..c896ea839be 100755 --- a/utils/UpdateCMakeLists.pl +++ b/utils/UpdateCMakeLists.pl @@ -68,7 +68,7 @@ sub UpdateCMake { while() { if (!$foundLibrary) { print OUT $_; - if (/^add_[^_]+_library\(/ || /^add_llvm_target\(/ || /^add_executable\(/) { + if (/^add_[^_]+_library\(/ || /^add_llvm_target\(/ || /^add_[^_]+_executable\(/) { $foundLibrary = 1; EmitCMakeList($dir); }