From a78def96803f4f690ab7015b6b308004e9b2c8dd Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Fri, 29 Jan 2010 01:10:55 +0000 Subject: Recognize 'add_executable' when analyzing CMake files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94777 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/UpdateCMakeLists.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'utils/UpdateCMakeLists.pl') diff --git a/utils/UpdateCMakeLists.pl b/utils/UpdateCMakeLists.pl index 6d24d90eea..8f535145de 100755 --- a/utils/UpdateCMakeLists.pl +++ b/utils/UpdateCMakeLists.pl @@ -68,7 +68,8 @@ sub UpdateCMake { while() { 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); } -- cgit v1.2.3