title: How to exclude a source file from being build in eclipse (C++)?
body: <p>I am trying to follow <a href="https://stackoverflow.com/questions/3951808/using-googletest-in-eclipse-how">some insane complicated steps</a> in order to be able to create C++ unit-tests for C++ code in eclipse (I am utterly new to eclipse). These steps state to exclude some source files from using in the built - which makes sense to me. However, in my eclipse I do not see any <code>Exclude from built</code> option when right-clicking on the source file. Also, neither <a href="https://stackoverflow.com/questions/8761504/skip-some-file-during-compilation-eclipse">this answer</a> nor <a href="https://stackoverflow.com/questions/9236377/eclipse-c-exclude-multiple-files-from-build-at-once">this answer</a> do work, as I do not see the mentioned options in the list of things when I right-click on the source file. </p>
  
  <p>So how to exclude a source file from a built? </p>
  
  <p>P.S. The Version of eclipse seems to be Luna 4.4.0.</p>
  
  <p>(Or, even better: If anyone knows an easier way to set up eclipse with ANY unit-testing framework in a SIMPLE way,- or knows a different Linux framework to start developing C++ projects with unit-testing right away without trying to set up things in unknown and complicated ways for weeks before starting to actually code something - ideas are VERY VERY welcome...)</p>