Boost Users :
Subject: Re: [Boost-users] Including a source library with Boost.Build
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-03-03 17:14:16
Z. S. O. wrote:
> Do you mean linking them in the jamfile? I'm not sure how to do that
> -- I think this is what's causing me problems.
You need to list them as sources.
> On Tue, Mar 3, 2009 at 5:00 PM, Steven Watanabe <watanabesj_at_[hidden]
> <mailto:watanabesj_at_[hidden]>> wrote:
> Z. S. O. wrote:
> I have a source library I'd like to include in my Boost.Build
> project. The library consists of an assortment of header and
> cpp files in a folder next to the main cpp file and jamfile.
> It doesn't require any elaborate precompilation, so it should
> work just by #including the appropriate header files in the
> main cpp file (i.e., #include "FolderName/FileName.h").
> My question is, do I need to do anything other than that to
> make this work? I'm getting an "undefined symbols" error, so
> clearly Boost.Build not finding something correctly.
> As long as you're linking all the cpp files that you need, it
> should work.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net