Share Mulitple Classes as one dll or a lib with Mulitple Projects
Posted
by
JNL
on Programmers
See other posts from Programmers
or by JNL
Published on 2013-06-28T19:07:44Z
Indexed on
2013/06/28
22:28 UTC
Read the original article
Hit count: 282
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++.
© Programmers or respective owner