1
0
Fork 0
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:
Jeff Johnston 2019-05-15 17:44:34 -04:00
parent a62215e851
commit 949dd8a45f

View file

@ -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);