mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-29 13:54:57 +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>) {
|
while(<IN>) {
|
||||||
if (!$foundLibrary) {
|
if (!$foundLibrary) {
|
||||||
print OUT $_;
|
print OUT $_;
|
||||||
if (/^add_[^_]+_library\(/ || /^add_llvm_target\(/ || /^add_executable\(/) {
|
if (/^add_[^_]+_library\(/ || /^add_llvm_target\(/ || /^add_[^_]+_executable\(/) {
|
||||||
$foundLibrary = 1;
|
$foundLibrary = 1;
|
||||||
EmitCMakeList($dir);
|
EmitCMakeList($dir);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user