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

Ted Kremenek kremenek at apple.com
Mon Nov 2 20:06:58 PST 2009


Author: kremenek
Date: Mon Nov  2 22:06:58 2009
New Revision: 85860

URL: http://llvm.org/viewvc/llvm-project?rev=85860&view=rev
Log:
Support updating 'llvm_add_target' lists as well.

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=85860&r1=85859&r2=85860&view=diff

==============================================================================
--- llvm/trunk/utils/UpdateCMakeLists.pl (original)
+++ llvm/trunk/utils/UpdateCMakeLists.pl Mon Nov  2 22:06:58 2009
@@ -68,7 +68,7 @@
   while(<IN>) {
     if (!$foundLibrary) {
       print OUT $_;
-      if (/^add_clang_library\(/ || /^add_llvm_library\(/) {
+      if (/^add_clang_library\(/ || /^add_llvm_library\(/ || /^add_llvm_target\(/) {
         $foundLibrary = 1;
         EmitCMakeList($dir);
       }





More information about the llvm-commits mailing list