Jump to content
  • Advertisement
Sign in to follow this  
adt7

Best Way to Include 3rd Party References/Projects (Visual Studio)

This topic is 2957 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

I've just finished a small game and now I want to rip out the internals for use as an "engine" for my next game.

Currently I'm using a number of external libraries (SlimDX, LuaInterface, etc) which are currently just added as References (using browse).

What I want to do instead is download the latest versions from their SVN servers and link those in.

The problem is (taking LuaInterface as an example) some of these external libraries have multiple projects in their solution, so if I add them to my "engine" solution I end up with a list of projects as long as my... arm.

Is there anything I can do about this? Is there a better way of combining projects?

[Edited by - adt7 on July 16, 2010 8:19:21 AM]

Share this post


Link to post
Share on other sites
Advertisement
Well, I only see 2 possible solutions: Either you keep the latest binaries around and link against them or add the projects to your solution. Depending on the number of projects, the latter might not be a good idea.
Maybe it's just me, but not one days goes by where I don't accidentally hit alt + b + n or alt + b + z and whoops, all projects are cleaned. For that reason I work with 2 solutions: One contains all projects (about 300) and the other one only 20: the one's I'm actually working with.

Share this post


Link to post
Share on other sites
Thanks for that.

Does anyone else have any insight? How is this "dealt with" in professional studios who I'm sure have many more libraries than I ever will. I guess they just pick a version to use and keep the DLL around?

Following on from that, if the correct approach is just to keep the version of the library you're currently using handy and in the project folder, should these be kept on my SVN server?

Currently it's just me working on my projects, but I'll probably getting a couple of friends involved soon. I'm guessing it's good practice to have everything you need to build and run the project on SVN somehow?

Share this post


Link to post
Share on other sites
In my experience it's common to just build the 3rd party libs separately and link to them the same way you'd link to Boost or the standard libraries. You may want a designated place where all 3rd party libraries live, outside of your own projects directory.

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!