mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-15 12:15:47 +02:00
Bug 547144 - Switching from Local to docker container and back fails
- fix CBuildConfigurationManager createBuildConfiguration to always ensure "" is added to the build configuration names so future references to Local will find the default build configuration in the ProjectDescription Change-Id: If15dde12befe060b4eb7c0ba2a2aeabbc1089ffa
This commit is contained in:
parent
a62215e851
commit
949dd8a45f
1 changed files with 3 additions and 0 deletions
|
@ -166,6 +166,9 @@ public class CBuildConfigurationManager
|
|||
for (IBuildConfiguration config : project.getBuildConfigs()) {
|
||||
names.add(config.getName());
|
||||
}
|
||||
// need to add default config name because it can be active by
|
||||
// default without being in the build config list used above
|
||||
names.add(IBuildConfiguration.DEFAULT_CONFIG_NAME);
|
||||
|
||||
IProjectDescription desc = project.getDescription();
|
||||
names.add(name);
|
||||
|
|
Loading…
Add table
Reference in a new issue