title: Exclude directories from indexing in CLion
body: <p>How do I exclude directories from being indexed in CLion?</p>
  
  <p>I have several GB of data being indexed that are slowing everything down.</p>
  
  <p>In PyCharm I can just right-click on the directory, but I don't find this option on CLion.</p>
  
  <p>To be more concrete, I have a project with the following structure:</p>
  
  <pre><code>release/
  release/results
  source/
  build/
  </code></pre>
  
  <p>the directory <code>release/results</code> contains several GB of data. <code>CMakeList.txt</code> only contains the list of files inside <code>source/</code>, however, the indexer is indexing the files inside <code>release/results</code>.</p>