Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--windows/org.eclipse.cdt.msw.build/plugin.xml12
1 files changed, 11 insertions, 1 deletions
diff --git a/windows/org.eclipse.cdt.msw.build/plugin.xml b/windows/org.eclipse.cdt.msw.build/plugin.xml
index bb86d18c93b..982f0a87212 100644
--- a/windows/org.eclipse.cdt.msw.build/plugin.xml
+++ b/windows/org.eclipse.cdt.msw.build/plugin.xml
@@ -358,7 +358,17 @@
id="org.eclipse.cdt.msvc.link.option.debug"
name="Generate Debug Info (/debug)"
resourceFilter="all"
- valueType="boolean"/>
+ valueType="boolean">
+ <enablement
+ attribute="value"
+ type="CONTAINER_ATTRIBUTE"
+ value="true">
+ <checkBuildProperty
+ property="org.eclipse.cdt.build.core.buildType"
+ value="org.eclipse.cdt.build.core.buildType.debug">
+ </checkBuildProperty>
+ </enablement>
+ </option>
<option
category="org.eclipse.cdt.msvc.link.optionCategory.general"
command="/nologo"

Back to the top