Saturday, March 24, 2012

Using addons in Visual Studio [howto]

It seems that there are a lot of people (including myself) who don't know how to add addons in a blank Visual Studio project project.

Step1: create the same structure as the addon using filters then add existing files in the filter folders.





Step2: right click on the project to open the properties navigate to -> configuration properties -> c/c++ -> general -> additional include directories




Step3: edit additional include directories



Step4: add the folders from the addon. In this case src and libs.
You can find the paths in the install.xml file which is located in the addon folder.


PS: you need to set the include directories on every build configuration debug/release

No comments:

Post a Comment