[英]Any way to include a batch of Library and Directory paths to "Include Additional Directories" Visual C++
Currently, when working on a new solution in Microsoft Visual Studio 2017 (C++), my team has to include a bunch of libraries and directories individually.目前,在 Microsoft Visual Studio 2017 (C++) 中处理新解决方案时,我的团队必须单独包含一堆库和目录。 Which is tedious and prone to mistakes.
这是乏味的,容易出错。 Is there anyway to be able to include one path(Environment Variable) in "Additional Include Directories" that contains all the paths to the "Includes" we need without individually including each and every path or any other solution?
无论如何,是否能够在“其他包含目录”中包含一个路径(环境变量),其中包含我们需要的“包含”的所有路径,而无需单独包含每个路径或任何其他解决方案? Right now, when we create a new solution we have to repeatedly add every solution individually.
现在,当我们创建一个新的解决方案时,我们必须重复地单独添加每个解决方案。
Go to view->Other windows->Property manager and then open one of the project nodes and then one node for each of the platforms of interest (that is Debug|Win32, Debug|X64), and right click on the Microsoft.Cpp..User node and select properties.转到视图-> 其他窗口-> 属性管理器,然后打开项目节点之一,然后为每个感兴趣的平台(即 Debug|Win32、Debug|X64)打开一个节点,然后右键单击 Microsoft.Cpp ..用户节点并选择属性。
Now, you can edit this property page just like a project properties but the settings will be applied to all projects (even already created projects).现在,您可以像编辑项目属性一样编辑此属性页,但设置将应用于所有项目(甚至已创建的项目)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.