Jump to content
  • Advertisement
Sign in to follow this  
nickme

VC++ 2010: have to enter project properties for every project.

This topic is 2339 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi,

i am very ennoyed to have to enter the properties of SFML program to every different projects. is there a way that once i entered the lib and include directories and set the macro, i dont have to enter it again for different project?

i just begin to learn about SFML and it is tedious to enter all those info for every project.

thanks

Share this post


Link to post
Share on other sites
Advertisement
Yes.

Go to property manager, expand your project, expand debug | win32, right click "Microsoft.Cpp.Win32.user" add the directories under there. You shouldn't have to add them again after that.

Share this post


Link to post
Share on other sites
You can also create property sheets that can be applied to your solution. For instance, I have created property sheets that add in the appropriate include directories, library directories, and source directories for each version of the third party libraries I have. This way a project can refer to <sfml/graphics.hpp> or sfml-graphics-d.lib, and through the layers of property sheets, the solution determines whether to use the 1.6 or 1.5 version. This is especially useful if you ever need to recompile your old projects... [strike]The downside is that the property sheets aren't portable as they may refer to locations on your local hard drive, and the solution will refer to the property sheet with a local hard drive link. You will need to create a sans-local-property-sheets solution to distribute with the project file.[/strike] Nevermind, the property sheets are referenced in the project files, so you will need to remove them before distributing (that is, if they refer to locations on your local hard drive).

Share this post


Link to post
Share on other sites

Yes.

Go to property manager, expand your project, expand debug | win32, right click "Microsoft.Cpp.Win32.user" add the directories under there. You shouldn't have to add them again after that.


hi,
i cannot seem to find the property manager. what button or menu is it under?

thanks

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!