
On Tue, Mar 23, 2010 at 10:24 AM, DE <satan66613@yandex.ru> wrote:
if so i say that separating declaration and implementation for non template code is a natural practice in C and C++ development i.e. declaration -- in headers (*.h), implementation -- in *.cpp or *.c personally i like the compile-once-link-any-time-you-want principle
especially it fits well with msvc set of tools once you have a lib and the header you can put a file in your /include dir with the following contents
Boost Build owns MSVC projects in that department. :) Assuming lib foo has a Jamfile, you just say "I use lib foo" and everything that should happen automatically does: you get the correct include paths added, the correct lib files linked, and if you're running a test -- the correct DLL/SO paths added. On any platform and any compiler. Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode