0

I'm having some trouble figuring out how to add another directory for a single project. On a regular C/C++ project I'm allowed the option of navigating to the directory, but here I have to enter the directory myself, but this is a CUDA c/C++ project. My question is how would I add lets just say: C:\Users\USERNAME\Documents\Visual Studio 2010\Projects\CUDA Programs\common as an include directory.

A screen grab of my project

sj755
  • 3,944
  • 14
  • 59
  • 79

2 Answers2

0

Does this answer you question VS10 "Additional Include Directories" Point to VS9 Includes

Community
  • 1
  • 1
Phil Murray
  • 6,396
  • 9
  • 45
  • 95
0

You should just be able to paste the path into the include directories list. You can separate paths with a semicolon.

c:\foo\baa;c:\program files\blah\blah;c:\whatever

In earlier versions of the build rules, the include directory did not seem to be added correctly if it ended in a backslash, or if it was wrapped in quotes, so try and avoid either of those.

Matt
  • 569
  • 1
  • 4
  • 16