title: Visual Studio 2017 and CMake - How to set the build directory
body: <p>I use Visual Studio 2017. I have noticed that the CMake build directory is placed in some place other than my project folder:</p>
  
  <pre><code>C:\Users\User\CMakeBuilds\"some id"
  </code></pre>
  
  <p>I would like to have the CMake build directory in my project folder. How can I achieve this?</p>
  
  <p><strong>Edit:</strong>
  I have just created a basic CMakeLists.txt using notepad: </p>
  
  <pre><code>cmake_minimum_required(VERSION 3.8)
  project (TestCpp)
  add_executable(testCpp main.cpp)
  </code></pre>
  
  <p>I open it in Visual Studio using the File > Open > Folder options.</p>