title: How to print WORKING_DIRECTORY in CMake?
body: <p>I have this line in my CMakeLists.txt:</p>
  <pre><code>add_test(NAME ${PROJECT_NAME} COMMAND ${PROJECT_NAME} WORKING_DIRECTORY ${PROJECT_SOURCE_DIR})
  </code></pre>
  <p>The problem is that <code>WORKING_DIRECTORY</code> does not seem to be set correctly.</p>
  <pre><code>message(&quot;Futurama ${PROJECT_SOURCE_DIR}&quot;)
  </code></pre>
  <p>It shows that <code>PROJECT_SOURCE_DIR</code> is what I expect, but when I run my generated VS projects, the work folder is <code>$(ProjectDir)</code>, and that is wrong since I do the build in a separate folder.</p>
  <p>Is it possible that setting of <code>WORKING_DIRECTORY</code>  is broken for the Visual Studio generator?</p>
  <p>If not, how can I print the status of <code>WORKING_DIRECTORY</code>  after <code>add_test</code>?</p>