Boost logo

Boost-Build :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2008-03-07 07:03:32


With command:

   bjam -tproto_morphisms.unit-test

and Jamfile containing:

   unit-test proto_morphisms.unit-test
       : proto_morphisms.cpp
       ;

I get:

  bjam -tproto_morphisms.unit-test
  warning: Graph library does not contain optional GraphML reader.
  note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH
to the
  note: directories containing the Expat headers and libraries,
respectively.
  warning: skipping optional Message Passing Interface (MPI) library.
  note: to enable MPI support, add "using mpi ;" to user-config.jam.
  note: to suppress this message, pass "--without-mpi" to bjam.
  note: otherwise, you can safely ignore this message.
  Building Boost.Regex with the optional Unicode/ICU support disabled.
  Please refer to the Boost.Regex documentation for more information
  (don't panic: this is a strictly optional feature).
  error: Unable to find file or target named
  error: 'toy_spirit2_debug.cpp'
  error: referred from project at
  error: '.'

I don't know if it's relevent, but The Jamfile also contains:

unit-test toy_spirit2.unit-test
     : toy_spirit2.cpp
     ;
unit-test toy_spirit2_debug.unit-test
     : toy_spirit2_debug.cpp
     ;

as 1st two targets. The command:

   bjam --help-options

indicates -tx should rebuild x even if x is up-to-date.
I didn't find anything about this search the bjam mailing list
or http://svn.boost.org/trac/boost/report/14.

What options should I use to rebuild x even if x is up-to-date?
(BTW, I only need this because I'm using:

project sandbox
   : requirements
     <include>lje&&proto.review/proto&&..

in an "higher-up" Jamfile and I'm guessing that the && causes
the scanner not to find the right dependencies; consequently,
I have to force a rebuild when I change a file included
from the lje/boost directory.)


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