简体   繁体   English

将一批库和目录路径包含到“包含附加目录”Visual C++ 的任何方式

[英]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.

相关问题 Visual Studio 中用于 C++ 的其他包含目录 - Additional include directories in Visual Studio for C++ 在Visual Studio C ++项目中设置默认的其他包含/库路径 - Setting default additional include/library paths in a Visual Studio C++ project 在 Visual Studio 中为 C++ 设置 UnitTest 项目并在主项目中包含其他目录的正确方法是什么? - What is the correct way to set up a UnitTest project for C++ in Visual Studio with additional include directories in the main Project? Visual Studio目录并包含路径 - visual studio directories and include paths Visual Studio 中的 CMake 项目:如何添加额外的包含和库目录? - CMake project in Visual Studio: How to add additional include and library directories? 设置库包括c ++中的路径 - setting library include paths in c++ 什么是差异b / w包括VC ++目录选项和C ++中的附加包含目录 - > Visual Studio中的常规 - What is the diff b/w Includes in VC++ Directories options and Additional include directories in C++ -> General in Visual Studio 其他包括路径和 linker 选项 Gradle 用于 C++ - Additional include paths and linker options Gradle for C++ Visual Studio C++ 不能在同一解决方案或外部文件夹中包含其他目录 - Visual Studio C++ Can't include additional directory within same solution or outside folder Visual Studio还包括带有网络路径的目录 - Visual studio additional include directories with network path
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM