Click here to Skip to main content
15,892,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Solution Needed Please Pin
wb1-Aug-04 12:06
wb1-Aug-04 12:06 
GeneralRe: Solution Needed Please Pin
David Crow2-Aug-04 4:29
David Crow2-Aug-04 4:29 
GeneralPrecompiled headers Pin
0v3rloader1-Aug-04 1:28
0v3rloader1-Aug-04 1:28 
GeneralRe: Precompiled headers Pin
Ivan Cachicatari1-Aug-04 4:50
Ivan Cachicatari1-Aug-04 4:50 
GeneralRe: Precompiled headers Pin
Ravi Bhavnani1-Aug-04 4:54
professionalRavi Bhavnani1-Aug-04 4:54 
GeneralRe: Precompiled headers Pin
Michael Dunn1-Aug-04 5:34
sitebuilderMichael Dunn1-Aug-04 5:34 
GeneralA static library && sub-projects Pin
0v3rloader1-Aug-04 1:26
0v3rloader1-Aug-04 1:26 
GeneralRe: A static library && sub-projects Pin
Ravi Bhavnani1-Aug-04 5:06
professionalRavi Bhavnani1-Aug-04 5:06 
You may want to consider splitting the large lib into several smaller ones (as long as they aren't dependent on each other). Each lib would be in its own project. You can combine multiple projects into a single workspace.

I tend to keep my general purpose libs in separate, distinct projects, each in its own workspace. When I build an app, I just link with the appropriate lib(s). I'm careful to have no inter-lib dependencies - i.e. lib_1 doesn't require you to also link with lib_2.

I use the following directory layout for each lib.

/lib_1
   /src      (.cpp files and private .h files)
   /inc      (public .h files)
   /bin      (debug & release build targets - i.e. the .lib files)
   /doc      (Doxygen generated documentation)
   /Debug    (compiler generated files - Debug builds)
   /Release  (compiler generated files - Release builds)
I use the "D" suffix for debug build targets. So my lib files are named lib_1.lib and lib_1D.lib. Both release and debug flavors of the built libs reside in the <code? bin<="" code=""> directory.

Only the <code>lib_1, /src and /inc dirs are backed up (and under version control). Everything else is generated and doesn't need to be saved.

/ravi

My new year's resolution: 2048 x 1536
Home | Articles | Freeware | Music
ravib@ravib.com

GeneralRe: A static library &amp;&amp; sub-projects Pin
0v3rloader1-Aug-04 5:36
0v3rloader1-Aug-04 5:36 
GeneralRe: A static library &amp;&amp; sub-projects Pin
Ravi Bhavnani1-Aug-04 5:56
professionalRavi Bhavnani1-Aug-04 5:56 
GeneralRe: A static library &amp;&amp; sub-projects Pin
0v3rloader1-Aug-04 6:04
0v3rloader1-Aug-04 6:04 
GeneralRe: A static library &amp;&amp; sub-projects Pin
Ravi Bhavnani1-Aug-04 6:09
professionalRavi Bhavnani1-Aug-04 6:09 
GeneralRe: A static library &amp;&amp; sub-projects Pin
0v3rloader1-Aug-04 6:38
0v3rloader1-Aug-04 6:38 
GeneralRe: A static library &amp;&amp; sub-projects Pin
Ravi Bhavnani1-Aug-04 6:43
professionalRavi Bhavnani1-Aug-04 6:43 
GeneralRe: A static library &amp;&amp; sub-projects Pin
Chris Losinger1-Aug-04 16:32
professionalChris Losinger1-Aug-04 16:32 
GeneralProcess Categories Pin
DiffBytes1-Aug-04 0:11
DiffBytes1-Aug-04 0:11 
Generalado Pin
Asha Rams31-Jul-04 22:19
Asha Rams31-Jul-04 22:19 
GeneralRe: ado Pin
Ivan Cachicatari1-Aug-04 4:58
Ivan Cachicatari1-Aug-04 4:58 
GeneralEnglish version Pin
Ravi Bhavnani1-Aug-04 5:16
professionalRavi Bhavnani1-Aug-04 5:16 
Questionhow to manipulate clipborard Pin
yingkou31-Jul-04 19:39
yingkou31-Jul-04 19:39 
GeneralAuto Scroll Pin
arunforce31-Jul-04 17:38
arunforce31-Jul-04 17:38 
GeneralRe: Auto Scroll Pin
Ravi Bhavnani31-Jul-04 17:49
professionalRavi Bhavnani31-Jul-04 17:49 
GeneralHelp me :( Pin
arunforce31-Jul-04 17:52
arunforce31-Jul-04 17:52 
GeneralRe: Auto Scroll Pin
Michael Dunn31-Jul-04 20:46
sitebuilderMichael Dunn31-Jul-04 20:46 
GeneralDidn't work... Pin
arunforce1-Aug-04 7:12
arunforce1-Aug-04 7:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.