问题
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.
- Open the Property Manager (View menu).
- Right click on a project and select "Add New Property Sheet"
- 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.
- Open the Property Manager.
- 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