Can you copy linker/additional dependancies etc to other projects

情到浓时终转凉″ 提交于 2019-12-24 17:06:35

问题


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?


回答1:


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. Open the Property Manager (View menu).
  2. Right click on a project and select "Add New Property Sheet"
  3. Once the property sheet has been created/added right click on it and add your common configuration settings (the same way you do in a project's properties).

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

  1. Open the Property Manager.
  2. right click on the project you want to add the property sheet to and click "Add Existing Property Sheet".

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).



来源:https://stackoverflow.com/questions/20792155/can-you-copy-linker-additional-dependancies-etc-to-other-projects

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!