Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Schaefer2017-11-16 12:03:41 -0500
committerDoug Schaefer2017-11-16 12:12:10 -0500
commit461f90901ce193a59421046d9ea208da5bb92526 (patch)
tree7ccea06726d3e98d2177297cf3de35f2d8498694
parent589faf51cc35fe4d37711d1a30e835d93cb1f558 (diff)
downloadorg.eclipse.cdt-461f90901ce193a59421046d9ea208da5bb92526.tar.gz
org.eclipse.cdt-461f90901ce193a59421046d9ea208da5bb92526.tar.xz
org.eclipse.cdt-461f90901ce193a59421046d9ea208da5bb92526.zip
Fix missing recording of launch mode for core build configs.
Was causing new build configs to be created for non "run" mode configs. Change-Id: I6b939ac1da9fcf6678bf28b0bbad201fc723b371
-rw-r--r--core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/build/CBuildConfiguration.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/build/CBuildConfiguration.java b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/build/CBuildConfiguration.java
index e4ebbe6d4f..92f5f8eb69 100644
--- a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/build/CBuildConfiguration.java
+++ b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/build/CBuildConfiguration.java
@@ -149,6 +149,7 @@ public abstract class CBuildConfiguration extends PlatformObject
Preferences settings = getSettings();
settings.put(TOOLCHAIN_TYPE, toolChain.getTypeId());
settings.put(TOOLCHAIN_ID, toolChain.getId());
+ settings.put(LAUNCH_MODE, launchMode);
try {
settings.flush();
} catch (BackingStoreException e) {

Back to the top