[llvm-commits] [llvm] r94777 - /llvm/trunk/utils/UpdateCMakeLists.pl
Ted Kremenek
kremenek at apple.com
Thu Jan 28 17:10:55 PST 2010
Author: kremenek
Date: Thu Jan 28 19:10:55 2010
New Revision: 94777
URL: http://llvm.org/viewvc/llvm-project?rev=94777&view=rev
Log:
Recognize 'add_executable' when analyzing CMake files.
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=94777&r1=94776&r2=94777&view=diff
==============================================================================
--- llvm/trunk/utils/UpdateCMakeLists.pl (original)
+++ llvm/trunk/utils/UpdateCMakeLists.pl Thu Jan 28 19:10:55 2010
@@ -68,7 +68,8 @@
while(<IN>) {
if (!$foundLibrary) {
print OUT $_;
- if (/^add_clang_library\(/ || /^add_llvm_library\(/ || /^add_llvm_target\(/) {
+ if (/^add_clang_library\(/ || /^add_llvm_library\(/ || /^add_llvm_target\(/
+ || /^add_executable\(/) {
$foundLibrary = 1;
EmitCMakeList($dir);
}
More information about the llvm-commits
mailing list