Jump to content
  • Advertisement
Sign in to follow this  
Paylegrave

Deriving from another Visual C++ Project?

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

Hello!

 

I have a little issue which I hope you can help with, it was a little awkward to title so apologies if it is misleading although I believe it summaries the question.

 

I have a VS Solution with two projects, one contains the entry point and eventually gameplay code, whereas the other is the actual framework in which the game will built around. I want the project with the entry to point to reference the second project's code such as it's math or rendering functions, however I'm not quite sure how I would go about that as I have never done such a task before. I initially thought that I would build the framework project as library and then reference the library in the first project, however that may cause some issues in regards to SDL2 unless it was statically linked into the framework project in which case I just use a single .dll alongside the .exe of the main project. However, I have previously read (a while ago) that you just reference the project and derive its code in another project, I'm not quite sure?

 

I'd appreciate any guidance on the subject, thanks in advance!smile.png

 

- Tucker

Share this post


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

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!