How can you reference a separate project so that you can use that projects classes within another project. I want to have my game engine separate from the game i'm making and I need to be able to access the engine's code.
I am using C++ and Visual Studio.
Referencing Project
Moderator: Coders of Rage
- thejahooli
- Chaos Rift Junior
- Posts: 265
- Joined: Fri Feb 20, 2009 7:45 pm
- Location: London, England
Referencing Project
I'll make your software hardware.
Re: Referencing Project
What you want to do is build a library.
http://stackoverflow.com/questions/9270 ... e-to-start
If you've never built a library before you might try to build an easy one like zlib or something.
Now that you know what to look for you should be able to find a tutorial to actually show you how to do it.
http://stackoverflow.com/questions/9270 ... e-to-start
If you've never built a library before you might try to build an easy one like zlib or something.
Now that you know what to look for you should be able to find a tutorial to actually show you how to do it.
- thejahooli
- Chaos Rift Junior
- Posts: 265
- Joined: Fri Feb 20, 2009 7:45 pm
- Location: London, England
Re: Referencing Project
Thanks. All I needed was a push in the right direction so I can probably research it myself. For anyone interested I found what looks like (I haven't read it fully yet) a good guide on the microsoft website http://msdn.microsoft.com/en-us/library ... S.80).aspx
I'll make your software hardware.