title: CMake says it has written build files, but no build files found
body: <p>I am trying to build a very simple test project from sourice, using cmake. All my files are in the same directory: <code>alpha.h</code>, <code>alpha.cpp</code>, <code>beta.h</code>, <code>beta.cpp</code>, <code>main.cpp</code>. The contents of these files are as follows:</p>
  
  <p><strong>alpha.h</strong></p>
  
  <pre><code>class Alpha
  {
  public:
      int x;
      Alpha();
  }
  </code></pre>
  
  <p><strong>alpha.cpp</strong></p>
  
  <pre><code>#include "alpha.h"
  
  Alpha::Alpha()
  {
      x = 2;
  }
  </code></pre>
  
  <p><strong>beta.h</strong></p>
  
  <pre><code>class Beta
  {
  public:
      int y;
      Beta();
  }
  </code></pre>
  
  <p><strong>beta.cpp</strong></p>
  
  <pre><code>#include "beta.h"
  
  Beta::Beta()
  {
      y = 10;
  }
  </code></pre>
  
  <p><strong>main.cpp</strong></p>
  
  <pre><code>#include "alpha.h"
  #include "beta.h"
  
  int main()
  {
      Alpha a;
      Beta a;
      int x = a.x;
      int y = b.y;
      int z = x + y;
      return z;
  }
  </code></pre>
  
  <p>I also have a <code>CMakeLists.txt</code> file in that same directory, whose content is:</p>
  
  <p><strong>CMakeLists.txt</strong></p>
  
  <pre><code>cmake_minimum_required (VERSION 2.6)
  project (Test)
  add_executable(Test main.cpp alpha.cpp beta.cpp)
  </code></pre>
  
  <p>When I am in the directory with all these files, I enter <code>cmake .</code>, which gives the following output:</p>
  
  <pre><code>-- Configuring done
  -- Generating done
  -- Build files have been written to: /home/karnivaurus/Data/Test-code/Test
  </code></pre>
  
  <p>However, I can see no build files in the directory <code>/home/karnivaurus/Data/Test-code/Test</code>. Why not?</p>