mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Fix for [Bug 179732] [Build] External builder should only be selectable when added to toolchain
This commit is contained in:
parent
02af47ffb6
commit
4573a81a54
1 changed files with 22 additions and 22 deletions
|
@ -1948,28 +1948,28 @@ public class Configuration extends BuildObject implements IConfiguration, IBuild
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(newBuilder == null){
|
// if(newBuilder == null){
|
||||||
IBuilder builders[] = ManagedBuildManager.getRealBuilders();
|
// IBuilder builders[] = ManagedBuildManager.getRealBuilders();
|
||||||
IBuilder tmpB = null;
|
// IBuilder tmpB = null;
|
||||||
for(int i = 0; i < builders.length; i++){
|
// for(int i = 0; i < builders.length; i++){
|
||||||
IBuilder b = builders[i];
|
// IBuilder b = builders[i];
|
||||||
if(b.isInternalBuilder())
|
// if(b.isInternalBuilder())
|
||||||
continue;
|
// continue;
|
||||||
|
//
|
||||||
|
//
|
||||||
if(isBuilderCompatible(b)){
|
// if(isBuilderCompatible(b)){
|
||||||
newBuilder = b;
|
// newBuilder = b;
|
||||||
break;
|
// break;
|
||||||
} else if(!checkCompatibility){
|
// } else if(!checkCompatibility){
|
||||||
tmpB = b;
|
// tmpB = b;
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
if(newBuilder == null){
|
// if(newBuilder == null){
|
||||||
if(tmpB != null)
|
// if(tmpB != null)
|
||||||
newBuilder = tmpB;
|
// newBuilder = tmpB;
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue