Share Mulitple Classes as one dll or a lib with Mulitple Projects
- by JNL
Currently I have some shared class files(.cpp and .h) which I include them in around 20 Projects. Currently I have to include them in all of the projects.
So if I get some business requirments and I change some of the shared(.cpp or .h) files I have to include them in all the 20 Projects which is kind of tedious.
Is there a way where I can create a shared dll or library and include it all of my Projects. So if I have to change it, I just have to change it once and then just Add Reference to include that dll or library which contains all the shared(.cpp, .h) files.
Any help/recommendations regarding the same, will be highly appreciated.
I am using VS2012 for VC++.