[llvm-commits] [llvm] r168490 - /llvm/trunk/utils/UpdateCMakeLists.pl

Ted Kremenek kremenek at apple.com
Wed Nov 21 23:48:53 PST 2012


Author: kremenek
Date: Thu Nov 22 01:48:52 2012
New Revision: 168490

URL: http://llvm.org/viewvc/llvm-project?rev=168490&view=rev
Log:
Generalize matching of add_executable to add_XXX_executable.

Modified:
    llvm/trunk/utils/UpdateCMakeLists.pl

Modified: llvm/trunk/utils/UpdateCMakeLists.pl
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/UpdateCMakeLists.pl?rev=168490&r1=168489&r2=168490&view=diff
==============================================================================
--- llvm/trunk/utils/UpdateCMakeLists.pl (original)
+++ llvm/trunk/utils/UpdateCMakeLists.pl Thu Nov 22 01:48:52 2012
@@ -68,7 +68,7 @@
   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);
       }





More information about the llvm-commits mailing list