title: CMake install project doesn't copy my executable to the folder I specify
body: <p>I am just starting out with CMake. I've successfully set up the most minimal <em>Hello, World!</em> C++ application possible for Visual&nbsp;Studio&nbsp;2012 on Windows&nbsp;7, but I've got one last nagging thing that's not quite right and I can't figure out why :(</p>
  
  <p>My folder structure is:</p>
  
  <pre><code>[cmakeTest]
  - [build]
  - [source]
    - [helloWorld]
      - main.cpp
      - CMakeLists.txt
    - CMakeLists.txt
  </code></pre>
  
  <p>My <code>main.cpp</code> file is just:</p>
  
  <pre><code>#include &lt;iostream&gt;
  
  int main()
  {
      std::cout &lt;&lt; "Hello World!";
  }
  </code></pre>
  
  <p><code>source/CMakeLists.txt</code> is:</p>
  
  <pre><code>cmake_minimum_required (VERSION 3.0.1)
  
  # Specifies project name for Visual Studio solution.
  # Visual Studio projects will be made for each CMake target specified
  
  project(cmakeTesting)
  
  # Set the install directory
  set(CMAKE_INSTALL_PREFIX ${cmakeTesting_BINARY_DIR}/bin)
  
  # Generate organiser projects
  # Creates "CMakePredefinedTargets" folder with INSTALL and ZERO_CHECK
  
  set_property(GLOBAL PROPERTY USE_FOLDERS ON)
  
  # Queue up CMakeLists from subdirectories
  
  add_subdirectory(helloWorld)
  </code></pre>
  
  <p><code>source/helloWorld/CMakeLists.txt</code> is:</p>
  
  <pre><code># Set Properties-&gt;General-&gt;Configuration Type to Application (.exe)
  # Creates helloWorld.exe with the listed sources (main.cxx)
  # Adds sources to the Solution Explorer
  
  add_executable (helloWorld main.cpp)
  
  # Creates a folder called "executables" and adds target
  # project (helloWorld.vcproj) under it
  
  set_property(TARGET helloWorld PROPERTY FOLDER "executables")
  
  # Adds logic to INSTALL.vcproj to copy helloWorld.exe to dest dir
  
  install (TARGETS helloWorld RUNTIME DESTINATION ${PROJECT_BINARY_BIN}/bin)
  </code></pre>
  
  <p>What does work:</p>
  
  <ul>
  <li><p>It creates the Visual Studio solution/project stuff in the build directory</p></li>
  <li><p>The project builds and runs in debug and release mode</p></li>
  <li><p>It creates EXE files in <code>/build/helloWorld/Debug/</code> and <code>/build/helloWorld/Release</code> (which work)</p></li>
  </ul>
  
  <p>What doesn't work:</p>
  
  <ul>
  <li>Visual Studio says it has copied the EXE file to <code>/bin/helloWorld.exe</code>, but it hasn't >:-(</li>
  </ul>
  
  <pre><code>1&gt;------ Build started: Project: ZERO_CHECK, Configuration: Release Win32 ------
  2&gt;------ Build started: Project: ALL_BUILD, Configuration: Release Win32 ------
  2&gt;  Build all projects
  3&gt;------ Build started: Project: INSTALL, Configuration: Release Win32 ------
  3&gt;  -- Install configuration: "Release"
  3&gt;  -- Up-to-date: /bin/helloWorld.exe
  ========== Build: 3 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
  </code></pre>
  
  <p>I know it seems fussy, but I'm trying to make sure I understand everything that's going on before steamrolling into more complex stuff (P.S. I'm using the CMake client, not the command line).</p>