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){
|
||||
IBuilder builders[] = ManagedBuildManager.getRealBuilders();
|
||||
IBuilder tmpB = null;
|
||||
for(int i = 0; i < builders.length; i++){
|
||||
IBuilder b = builders[i];
|
||||
if(b.isInternalBuilder())
|
||||
continue;
|
||||
|
||||
|
||||
if(isBuilderCompatible(b)){
|
||||
newBuilder = b;
|
||||
break;
|
||||
} else if(!checkCompatibility){
|
||||
tmpB = b;
|
||||
}
|
||||
}
|
||||
|
||||
if(newBuilder == null){
|
||||
if(tmpB != null)
|
||||
newBuilder = tmpB;
|
||||
}
|
||||
}
|
||||
// if(newBuilder == null){
|
||||
// IBuilder builders[] = ManagedBuildManager.getRealBuilders();
|
||||
// IBuilder tmpB = null;
|
||||
// for(int i = 0; i < builders.length; i++){
|
||||
// IBuilder b = builders[i];
|
||||
// if(b.isInternalBuilder())
|
||||
// continue;
|
||||
//
|
||||
//
|
||||
// if(isBuilderCompatible(b)){
|
||||
// newBuilder = b;
|
||||
// break;
|
||||
// } else if(!checkCompatibility){
|
||||
// tmpB = b;
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// if(newBuilder == null){
|
||||
// if(tmpB != null)
|
||||
// newBuilder = tmpB;
|
||||
// }
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue