您可以将链接器/其他依赖项等复制到其他项目吗? [英] Can you copy linker/additional dependancies etc to other projects

查看:53
本文介绍了您可以将链接器/其他依赖项等复制到其他项目吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我始终必须将DirectX lib文件等添加到我的所有项目,依赖项,链接器内容等...

I consistently have to add directx lib files etc to all of my projects, dependencies, linker stuff etc...

是否可以复制包含所有内容的文件.我只是将其复制到需要该文件的每个项目中?

Is there a file I can copy across that has all that stuff.. and I just copy it to every project that needs it?

推荐答案

是.您可以选择创建属性表.这是基本步骤.

Yes. You have the option of creating a property sheet that can be added to new or existing projects. Here are the basic steps.

  1. 打开属性管理器(视图"菜单).
  2. 右键单击一个项目,然后选择添加新属性表"
  3. 创建/添加属性表后,右键单击它并添加常用的配置设置(与项目属性中的操作相同).

创建属性表后,可以使用几乎相同的方法将其添加到新项目或现有项目中.

Once you've created the property sheet you can add it to new or existing projects in much the same way.

  1. 打开资源管理器.
  2. 右键单击要添加属性表的项目,然后单击添加现有属性表".

我不建议将其复制到每个项目或解决方案目录中,而应像放置在第三方库(例如Boost)中那样保存在中央位置.

I don't recommend copying into each project or solution directory but rather keep in in a central place much like you would a third party library (i.e. Boost).

这篇关于您可以将链接器/其他依赖项等复制到其他项目吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆