projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55b8809
)
Recognize 'add_executable' when analyzing CMake files.
author
Ted Kremenek
<kremenek@apple.com>
Fri, 29 Jan 2010 01:10:55 +0000
(
01:10
+0000)
committer
Ted Kremenek
<kremenek@apple.com>
Fri, 29 Jan 2010 01:10:55 +0000
(
01:10
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94777
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/UpdateCMakeLists.pl
patch
|
blob
|
history
diff --git
a/utils/UpdateCMakeLists.pl
b/utils/UpdateCMakeLists.pl
index 6d24d90eea5111a46bcd7f5ea923d2dfdcc18aa3..8f535145de3115959ee1a3db793d5fa0f63aa417 100755
(executable)
--- a/
utils/UpdateCMakeLists.pl
+++ b/
utils/UpdateCMakeLists.pl
@@
-68,7
+68,8
@@
sub UpdateCMake {
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);
}