OSDN Git Service

[ReleaseNotes] Mention various windows related changes in 7.0
[android-x86/external-llvm.git] / utils / UpdateCMakeLists.pl
index 8f53514..c896ea8 100755 (executable)
@@ -68,8 +68,7 @@ sub UpdateCMake {
   while(<IN>) {
     if (!$foundLibrary) {
       print OUT $_;
-      if (/^add_clang_library\(/ || /^add_llvm_library\(/ || /^add_llvm_target\(/
-          || /^add_executable\(/) {
+      if (/^add_[^_]+_library\(/ || /^add_llvm_target\(/ || /^add_[^_]+_executable\(/) {
         $foundLibrary = 1;
         EmitCMakeList($dir);
       }