Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2007-09-11 14:35:45


on Tue Sep 11 2007, Larry Evans <cppljevans-AT-cox-internet.com> wrote:

> Following instructions given by:
>
> bjam --help-options
> Boost.Jam Usage:
>
> bjam [ options... ] targets...
>
> * -a; Build all targets, even if they are current.
> * -fx; Read 'x' as the Jamfile for building
> instead of searching for the Boost.Build system.
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

In other words, the entire build system is replaced with 'x'

>
> I tried:
>
> cd ~/prog_dev/boost-svn/ro/trunk/sandbox/lje/bjam/
> bjam -fJamfile.v2 a
> Jamfile.v2:4: in module scope
> rule project unknown in module
>
> Compilation exited abnormally with code 1 at Tue Sep 11 12:57:40
>
> yet:
>
> cd ~/prog_dev/boost-svn/ro/trunk/sandbox/lje/bjam/
> bjam a
> ...
> ...found 8 targets...
>
> Compilation finished at Tue Sep 11 12:58:48
>
> Jamfile.v2 contains:
>
> exe a : a.cpp ;

Naturally, 'exe' is a rule provided by Boost.Build so of course it
isn't found when you override Boost.Build by using -f

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com
The Astoria Seminar ==> http://www.astoriaseminar.com

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