简体   繁体   English

Visual Studio 2010链接库并包含多个项目的路径

[英]Visual Studio 2010 linking libraries and include paths for multiple projects

I am working on a visual studio 2010 project where I use glew, glut and glm. 我正在开发一个visual studio 2010项目,我使用glew,glut和glm。 I have successfully linked all the libraries and dll for the project. 我已经成功链接了项目的所有库和dll。

Question is how do I do it once and when I create new project all the linked , libraries and paths linked from past project are still there. 问题是我如何做到这一点,当我创建新项目时,所有链接的,从过去项目链接的库和路径仍然存在。

So I dont have to do this all again. 所以我不必再这样做了。

Thank you. 谢谢。

You can create your own project templates. 您可以创建自己的项目模板。

  1. Create empty project with all your libraries linked. 创建空项目,链接所有库。
  2. File -> Export Template 文件 - >导出模板
  3. Select "Project Template", then choose template name and icons. 选择“项目模板”,然后选择模板名称和图标。
  4. Check if "Automatically import the template into Visual Studio" checked. 检查是否选中“自动将模板导入Visual Studio”。
  5. Now you can create projects with your template. 现在,您可以使用模板创建项目。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM