|
Boost : |
Subject: [boost] How to use BCP
From: William Voorhees (voorhees_at_[hidden])
Date: 2011-06-27 21:17:50
I'm updating a small C program to take in a options from either
environment variables, or a config file and having long heard of boost
as a great resource decided to give the program_options module a try.
Since the utility is small and I don't have any current plans for
other boost functionality it doesn't make sense to include the full
BOOST library, so I tried to use bcp to get only the files I'm
interested in. I was able to get a subset of boost code that I should
be able to use with bcp, however I don't know how to compile the
program_options library for linking in my code.
>From a bit of googling it looks like bjam is the build tool, but it
doesn't seem to be included with the subset of files I have.
How would I go about incorporating boost so that all of the necessary
source and associated utilities are included for an end user to build
from. I should be able to issue a series of simple commands (looks
like ./bootstrap.sh and make) to build and install my library with
statically linked in boost.
-Will Voorhees
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk