|
Boost-Build : |
From: Alex Besogonov (cyberax_at_[hidden])
Date: 2005-12-14 02:40:16
I'm trying to use Boost libraries (program_options, s11n, regex) with my
program. So far I've noticed that v2 Jamfiles do not specify usage
requirements.
For example:
==================================
project boost/signals
: source-location ../src
;
# Base names of the source files for libboost_signals
SOURCES = trackable connection named_slot_map signal_base slot ;
lib boost_signals : $(SOURCES).cpp
:
<define>BOOST_SIGNALS_NO_LIB=1
<link>shared:<define>BOOST_SIGNALS_DYN_LINK=1
;
==================================
If I build boost_signals as a shared library and then try to link it
with my application (by specifying /boost/signals//boost_signals in its
source list) I get autolink errors, because BOOST_SIGNALS_NO_LIB is NOT
defined.
I'm going to add coorect <define>s to usage requirements for Boost
libraries (and fix autolink support). Is this OK or am I going to
duplicate someone's work?
-- With respect, Alex Besogonov (cyberax_at_[hidden])
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