title: CMake configuration alternatives in CLion
body: <p>I have a CMake project in CLion. Under Preferences->Build, Execution, Deployment I have two configurations - <code>Debug</code> and <code>Release</code>:</p>
  
  <p><a href="https://i.stack.imgur.com/OU3pV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OU3pV.png" alt="a"></a></p>
  
  <p>The <code>Configuration:</code> drop-down has the standard CMake build types (Default, Debug, Release, RelWithDebInfo, MinSizeRel) and you can type your own.</p>
  
  <p>I want to have two different configurations - both <code>Release</code> but with different CMake options. I can do that, but they both end up being called <code>Release</code>. If I change the <code>Configuration</code> to something like <code>Release Engineering</code> then CLion passes <code>"-DCMAKE_BUILD_TYPE=Release Engineering"</code> to CMake which obviously isn't what I want.</p>
  
  <p>Even if I <em>do</em> make a <code>Release Engineering</code> config like this:</p>
  
  <p><a href="https://i.stack.imgur.com/DWifB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DWifB.png" alt="b"></a></p>
  
  <p>Then it shows up in the Run/Debug Configurations dialog as <code>Release</code>, and you can't really select it - they're obviously indexed by value rather than position so it just uses the first <code>Release</code> entry.</p>
  
  <p><a href="https://i.stack.imgur.com/f39wz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/f39wz.png" alt="c"></a></p>
  
  <p>Is there any way around this annoyance?</p>
  
  <p><em>Edit:</em> Also if I make a new RelWithDebInfo configuration it doesn't show up at all in the Run/Debug Configurations dialog.</p>