title: Eclipse CDT Project Template - Setting Drop-Down Options
body: <p>I'm trying to create a New Project template for Eclipse CDT in order to address my question asked <a href="https://stackoverflow.com/questions/33092746/creating-a-new-c-project-in-eclipse-cdt-with-the-same-settings-as-another-proj">here</a>. @Jonah Graham provided a very detailed walk-through in his answer to <a href="https://stackoverflow.com/questions/33092746/creating-a-new-c-project-in-eclipse-cdt-with-the-same-settings-as-another-proj">1</a> and this has gotten me most of the way. </p>
  
  <p>However, I can't figure out how to set an option that is specified via a drop-down; e.g. Dialect / Language Standard to <code>ISO C++11 (-std=c++01)</code> on the Settings / Tool Settings / GCC C++ Compiler / Dialect tab. The same issue would arise if I wanted to change the default Optimization or Debug levels, etc. </p>
  
  <p>I thought perhaps this could be accomplished via something like</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;process
      type="org.eclipse.cdt.managedbuilder.core.SetMBSStringListOptionValues"&gt;
      &lt;simple name="projectName" value="$(projectName)" /&gt;
      &lt;complex-array name="resourcePaths"&gt;
          &lt;element&gt;
              &lt;simple name="id" value=".*cpp\.compiler\.option\.dialect\.std." /&gt;
              &lt;simple-array name="values"&gt;
                &lt;element value="gnu.cpp.compiler.dialect.c++11" /&gt;
              &lt;/simple-array&gt;
              &lt;simple name="path" value="" /&gt;
          &lt;/element&gt;
      &lt;/complex-array&gt;
  &lt;/process&gt;
  </code></pre>
  
  <p>Unfortunately, this doesn't seem to have any effect (no errors, but nothing in the resulting .cproject file either). </p>
  
  <p>I can work around this by setting the "Other Dialect" flag, which is just a string, but I'd like to know how to do this via a drop-down since these come up in other places.</p>