Boost logo

Boost-Build :

Subject: [Boost-build] recursive libs not automatically linked in (anymore)
From: Andrej van der Zee (andrejvanderzee_at_[hidden])
Date: 2012-03-20 21:20:29


Hi,

I think about half a year ago I updated my Ubuntu distribution and
found myself adding all recursive libraries explicitly to the build
targets. Is there a linker-option that I should set in bjam to make it
automatically include recursive libraries? My Jamfiles became kind of
bloated like below:

lib rumble_cgi
        : [ glob *.cpp : main_cgi.cpp main_test.cpp ]
        /site-config//xml++
        /site-config//xml2
        /site-config//glibmm-2.4
        /site-config//glib-2.0
        /site-config//cgicc
        /site-config//boost_iostreams
        /site-config//boost_system
        /site-config//boost_filesystem
  /libs/mysql//rumble_mysql
  :
  ;

exe rumble.cgi
        : main_cgi.cpp
  /libs/cgi//rumble_cgi
        /site-config//xml++
        /site-config//xml2
        /site-config//glibmm-2.4
        /site-config//glib-2.0
        /site-config//cgicc
        /site-config//boost_iostreams
        /site-config//boost_system
        /site-config//boost_filesystem
  :
        ;

Cheers,
Andrej


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk