title: CUDA header inclusion fails, works in .cpp file
body: <p>I have a project in Visual Studio 2013 with the CUDA Toolkit 7.5 where inclusion of header files works for <code>.cpp</code> files but not for <code>.cu</code> files. I have a header file <code>test.h</code> and its implementation <code>test.cu</code> as well as the <code>main.cu</code> file.</p>
  
  <p>The file structure is:</p>
  
  <pre><code>projectdir/
      /include
          /test.h
      /src
          /test.cu
          /main.cu
  </code></pre>
  
  <p>In the project properties page, I have the following set up:</p>
  
  <p>Configuration Properties -> C/C++ -> Additional Include Directories =<br>
  <strong>$(ProjectDir)include;%(AdditionalIncludeDirectories)</strong></p>
  
  <p>Configuration Properties -> CUDA C/C++ -> Common -> Additional Include Directories =<br>
  <strong>$(ProjectDir)include;%(Include)</strong></p>
  
  <p><code>#include "../include/test.h"</code> compiles, <code>#include "test.h"</code> does not compile in the <code>.cu</code> files.</p>
  
  <p><a href="http://pastebin.com/25icHzpg" rel="nofollow">Here</a> is a pastebin of the error output.</p>
  
  <p><a href="http://pastebin.com/EE215SJQ" rel="nofollow">Here</a> is a pastebin of the CUDA C/C++ Command Line settings as well as the source code.</p>
  
  <p>Any help to resolve this is greatly appreciated. While the <code>#include ../include/test.h</code> lets me run the program it's annoying to not have it work properly.</p>