开发者

Adding an additional include directory for VS10

开发者 https://www.devze.com 2023-03-07 06:59 出处:网络
I\'m having some trouble figuring out how to add another directory fo开发者_开发技巧r a single project. On a regular C/C++ project I\'m allowed the option of navigating to the directory, but here I ha

I'm having some trouble figuring out how to add another directory fo开发者_开发技巧r 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.

Adding an additional include directory for VS10


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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号