views:

157

answers:

1

Hello, I've got this library for logging in boost. I have a question about installing. How to install it? Here is the latest version. There are 3 folder: boost, doc, libs. How can I install this library without recompiling all boost?

+1  A: 

In the simplest case you need to do 2 things: add /boost to your compiler include search path, and add all *.cpp files from /libs/log/src to your project, compiling those together with your application.

Note: this will work properly as long as your application consists out of the main executable only. If you have additional shared libraries of your own (which also use Boost.Log) it might be the best to copy (or link) /boost and /libs into your Boost source tree and rebuild it from there.

hkaiser