mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 05:32:25 +00:00
Generalize matching of add_executable to add_XXX_executable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168490 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b47ec4087c
commit
7462c12855
@ -68,7 +68,7 @@ sub UpdateCMake {
|
||||
while(<IN>) {
|
||||
if (!$foundLibrary) {
|
||||
print OUT $_;
|
||||
if (/^add_[^_]+_library\(/ || /^add_llvm_target\(/ || /^add_executable\(/) {
|
||||
if (/^add_[^_]+_library\(/ || /^add_llvm_target\(/ || /^add_[^_]+_executable\(/) {
|
||||
$foundLibrary = 1;
|
||||
EmitCMakeList($dir);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user