Recommended Posts

I wrote over the past week a couple of usefull classes. Most are in a source and header but the 2 templated are only inside a header. These libraries are mostly reusable pieces of code. However, I do not want to store them inside the directory of the project where they were initially where written for. So far I have them all stored inside

F:\Projects\Headers\

so I can do #include <header.h> and add them easily to my workspace. However, the number of headers in there are growing pretty quick now since I need way more libs for my upcoming project. What is the best way of storing them? Have for each libarary a subdir with it''s name (e.g \MySQL\*.cpp and *.h) or just all of them inside the \headers\ folder? And how do you store your libraries?
Sand Hawk
----------------
-Earth is 98% full. Please delete anybody you can.My Site

Share this post

Link to post

Share on other sites

http://davepermen.homeip.net/libs/ is an additional standart folder for visual studio, so i can include gl/gl.h, sdl/sdl.h, boost/shared_ptr.hpp and that stufhttp://davepermen.homeip.net/projects/ is where i have my projects in.. headers with reuse get nice written and formatted put intohttp://davepermen.homeip.net/dsp/

thats about it.. you can browse there to see it all..

"take a look around" - limp bizkitwww.google.com

0

Share this post

Link to post

Share on other sites

If I add F:\Projects\Libraries\ to VC, will this also search all the subdirectories or not? If so, I could just #include <cWinSock.h> instead of the entire map. And also, the precompiler will also under ''\\'' instead of ''/''.