Is it fair to use any Boost code in BRL-CAD C++ code?  If so, I think
the cmake files need to reflect that (i.e., point  to the entire
BRL-CAD Boost if not found on the local host).  As it is now it seems
to be there for the convenience of a small set of files and much local
boost cmake testing.

I tried to use Boost headers (assuming the BRL-CAD Boost would be
used) and had problems initially.  This hack worked:

  add the following line in the rt Note that in the
librt/CMakeLists.txt I added an include line to the  RT_INCLUDE_DIRS
list

  "${CMAKE_SOURCE_DIR}/src/other/boost"

However, I believe that line would be better as something like:

   ${BOOST_INCLUDE_DIRS}

And I plan to use more Boost code such as unordered_map.

Best regards,

-Tom

------------------------------------------------------------------------------
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