title: CMake and Eclipse CDT: Launch failed. Binary not found
body: <p>My goal is to use CMake with Eclipse CDT.
  A tiny CMakeLists.txt file from every tutorial works well for me, and Eclipse succesfully imports and builds the generated project. 
  But after building it doesn't see the binary ("Launch failed. Binary not found.") because it goes into the root project directory, not in Debug/ or Release/ (or the project lacks some metadata).</p>
  
  <p>How to build executables recognized by Eclipse?</p>