Boost logo

Boost-Build :

From: Steven Kirk (steven.kirk_at_[hidden])
Date: 2002-05-20 07:44:24


Hi, I am embarking on a new project and would like to check out the boost build system. At the moment, I am just trying to build a test application with just two cpp files. I have written a simple Jamfile that looks like this:

--
project-root ;
CPP_SOURCES = main.cpp window.cpp ;
exe test
: $(CPP_SOURCES)
: <include>$(BOOST_ROOT) ;
--
I set BOOST_ROOT, BOOST_BUILD_PATH, type 'bjam' and everything builds as itshould.
However, I now want to use the new boost signals library, which I have got from CVS and built without problem. My question is, how do I tell the Jamfile to link with libboost_signals?
 ------=_NextPart_000_01A5_01C20004.73DBD090 Content-Type: text/html;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=windows-1252" http-equiv=Content-Type>
<META content="MSHTML 5.00.3315.2869" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi, I am embarking on a new project and would like 
to check out the boost build system. At the moment, I am just trying to build a 
test application with just two cpp files. I have written a simple Jamfile that 
looks like this:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>--</FONT></DIV>
<DIV><FONT face=Arial size=2>project-root ;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>CPP_SOURCES = main.cpp window.cpp ;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>exe test<BR>&nbsp;&nbsp;&nbsp; : 
$(CPP_SOURCES)<BR>&nbsp;&nbsp;&nbsp; : &lt;include&gt;$(BOOST_ROOT) 
;<BR>--</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I set BOOST_ROOT, BOOST_BUILD_PATH, type 'bjam' and 
everything builds as it should.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>However, I now want to use the new boost signals 
library, which I have got from CVS and built without problem. My question is, 
how do I tell the Jamfile to link with 
libboost_signals?</FONT></DIV></BODY></HTML>
 ------=_NextPart_000_01A5_01C20004.73DBD090-- 

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