Boost logo

Boost :

From: David B. Held (dheld_at_[hidden])
Date: 2004-06-17 16:49:11


"Rene Rivera" <grafik.list_at_[hidden]> wrote in message
news:40CC943C.4090609_at_redshift-software.com...
> [...]
> exe my_test
> : <lib>@boost./libs/test/build/boost_test_exec_monitor
> my_test.cpp
> <include>$(BOOST_ROOT)
> ;
> [...]

Here's my Jamrules (which I assume can be in the same directory
as my Jamfile and tests?):

project boost
    : $(BOOST_ROOT)
    ;

And here's my Jamfile:

subproject libs/policy_ptr/test
        ;

exe smart_ptr_test
    : <lib>@boost./libs/test/build/boost_unit_test_framework
      smart_ptr_test.cpp
      <include>$(BOOST_ROOT)
        ;

Now, I have boost installed under /usr/local/boost, and the
sandbox in /usr/local/boost-sandbox. I have BOOST_ROOT
set to /usr/local/boost. When I do "bjam", I get:

/usr/local/boost-sandbox/../boost/tools/build/v1/allyourbase.jam:1280: in
enter-
subproject
*** argument error
* rule split-path ( path )
* called with: ( )
* missing argument path
/usr/local/boost-sandbox/../boost/tools/build/v1/allyourbase.jam:1581:see
defini
tion of rule 'split-path' being called
/usr/local/boost-sandbox/../boost/tools/build/v1/boost-base.jam:1506: in
depende
nt-include
/usr/local/boost-sandbox/../boost/tools/build/v1/boost-base.jam:2005: in
main-ta
rget
/usr/local/boost-sandbox/../boost/tools/build/v1/boost-base.jam:1349: in
declare
-local-target
/usr/local/boost-sandbox/../boost/tools/build/v1/boost-base.jam:2024: in exe
Jamfile:5: in load-jamfiles
/usr/local/boost-sandbox/../boost/tools/build/v1/bootstrap.jam:22: in
boost-buil
d
/usr/local/boost-sandbox/boost-build.jam:7: in module scope

Any idea what to do next? Also, I put the <include> line after a colon
originally, but your example does not have that. What is the difference,
and why?

Dave

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.701 / Virus Database: 458 - Release Date: 6/7/2004

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk