mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Use regex instead of special casing clang and llvm libraries.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161065 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
36bcc11236
commit
521ed460e9
@ -68,8 +68,7 @@ sub UpdateCMake {
|
||||
while(<IN>) {
|
||||
if (!$foundLibrary) {
|
||||
print OUT $_;
|
||||
if (/^add_clang_library\(/ || /^add_llvm_library\(/ || /^add_llvm_target\(/
|
||||
|| /^add_executable\(/) {
|
||||
if (/^add_[^_]+_library\(/ || /^add_llvm_target\(/ || /^add_executable\(/) {
|
||||
$foundLibrary = 1;
|
||||
EmitCMakeList($dir);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user