为 VS10 添加额外的包含目录
我在弄清楚如何为单个项目添加另一个目录时遇到了一些麻烦。在常规 C/C++ 项目中,我可以选择导航到目录,但在这里我必须自己输入目录,但这是一个 CUDA c/C++ 项目。我的问题是如何添加:C:\Users\USERNAME\Documents\Visual Studio 2010\Projects\CUDA Programs\common
作为包含目录。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您应该能够将路径粘贴到包含目录列表中。您可以用分号分隔路径。
在构建规则的早期版本中,如果包含目录以反斜杠结尾或用引号引起来,则似乎无法正确添加包含目录,因此请尝试避免其中任何一种。
You should just be able to paste the path into the include directories list. You can separate paths with a semicolon.
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.
这是否回答了您的问题VS10“附加包含目录”指向VS9包含< /a>
Does this answer you question VS10 "Additional Include Directories" Point to VS9 Includes