title: Indexer Problems when using eclipse CDT with Cmake
body: <p>I have problems with the Index responsible for autocomplete and live code correction in eclipse CDT. When I setup an Eclipse project using the in eclipse CMAKE tools (New Project=>CMake Project) the indexer simply doesn't work and can't find any files outside the source directory (It can't find library headers, even the ones on /usr/).<br>
  It does sometimes kinda work if the inlcude_directory is set directly without usage of a variable, but its pretty random:</p>
  
  <pre><code># this sometimes works
  include_directories("/home/user/lib/test")
  # this never does
  set(PATH /home/marvin/Documents/trash)
  include_directories(${PATH})
  </code></pre>
  
  <p>so is there a way to configure eclipses Index manually? So I can just add resource paths or something for the Indexer directly, so I can have code completion?</p>