forked from OSchip/llvm-project
Generalize matching of add_executable to add_XXX_executable.
llvm-svn: 168490
This commit is contained in:
parent
e9541c820a
commit
68ab5ecd75
|
@ -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