On Thu, Nov 7, 2013 at 10:54 AM, Tom Browder <tom.brow...@gmail.com> wrote:
> On Thu, Nov 7, 2013 at 7:38 AM, Tom Browder <tom.brow...@gmail.com> wrote:
>> Is it fair to use any Boost code in BRL-CAD C++ code?  If so, I think
> ...
>
> I take back my all my last statements as I realize the magnitude of
> the entire Boost library

Heh.  I was about to hit send on my previous response, but you pre-empted me.

> (except it would be convenient to refer to
> the BRL-CAD Boost include directory as something like
> BRLCAD_BOOST_INCDIR)..

Sure, I agree that a BRLCAD_BOOST_INCLUDE_DIR variable makes sense.
It's not used in very many places currently, so it was handled on a
fairly ad-hoc basis in the initial build setup.

> In any event, any objection to me upgrading the trunk to use the
> necessary parts of Boost 1.54.0?

None at all, that's a good thing - just make libpc and obj-g build
(The OSL support is off by default, which seems to be our only other
current use of it - if you feel like making that work too that'd be
great, but to the best of my knowledge it's been a while since that
code was exercised.)

It's a shame Boost is so huge - by far the easier thing to do would be
to grab the CMake-ified version and shove it in src/other, but that
would almost double the size of our tree.  What we end up doing
instead is using bcp:
http://www.boost.org/doc/libs/1_54_0/tools/bcp/doc/html/index.html

I don't remember if we ended up using any of the bits that need to be
compiled, or if we're still header-only.

CY

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to