title: Creating groups of CMake options
body: <p>I am using CMake to manage a build of a collection of projects on Linux, not a single project but the principle is the same. Each project has its own collection of options, for example <code>DEVEL</code> switches and custom code to be included. These are added in the standard CMake way:</p>
  
  <pre><code>OPTION(NAME "Helpstring" VALUE)
  </code></pre>
  
  <p>I am looking for a way to group these options based on which project they belong to as currently they are placed in alphabetical order and could be quite confusing. It would also save me coming up with unique names for each option, for example a <code>DEVEL</code> option could apply for all of the projects, but I might only want to enable it on some. I do not want to write e.g. <code>PROJECTNAME_DEVEL</code> options.</p>
  
  <p>Ideally I would like a system to divide the options based on project, e.g.</p>
  
  <pre><code>PROJECT1NAME:
      DEVEL: ON
  PROJECT2NAME:
      DEVEL: OFF
      ANOTHER_OPTION: ON
  </code></pre>
  
  <p>Can I do this somehow? I am primarily aiming this at the ncurses interface to cmake, I see that the Qt interface can group entries, so is this possible in the ncurses interface?</p>
  
  <p>Cheers</p>