I'm trying to play with Eclipse (C) project template. I found this very descriptive answer of how to work with Eclipse project template from @Jonah Graham and went through Eclipse documentation - How to add project templates to CDT
I'm able to create the project template and setup some settings by "SetMBSStringOptionValue"
<!-- Set TMP setting by adding textual build settings -->
<process
type="org.eclipse.cdt.managedbuilder.core.SetMBSStringOptionValue">
<simple name="projectName" value="$(projectName)" />
<complex-array name="resourcePaths">
<element>
<simple name="id" value=".*compiler\.option\.misc\.other*" />
<simple name="value" value="TMP_SETTING_RELEASE" />
<simple name="path" value="" />
</element>
</complex-array>
</process>
My question is how do I differentiate between build configurations? E.g. I want to setup different settings for "Debug" and "Release" build configuration. How should I do that?