Boost logo

Boost-Build :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2007-08-07 22:22:27


On 08/04/2007 09:30 AM, Vladimir Prus wrote:
> Larry Evans wrote:
>
>> On 08/03/2007 01:23 PM, Larry Evans wrote:
>> [snip]
[snip]
> Finally, I don't really remember if modifiers should be used before
action name
> or after -- using 'bind' after apparently works.
>
The following output:

<------- cut here -------
cd /home/evansl/prog_dev/boost-svn/ro/boost-trunk/tools/build/v2/tools/
grep archive gcc.jam
     #~ - The archive builder.
     local archiver =
             : ar : [ feature.get-values <archiver> : $(options) ] :
$(bin) : search-path ] ;
     flags gcc.archive .AR $(condition) : $(archiver[1]) ;
         ECHO notice: using gcc archiver :: $(condition) :: $(archiver[1]) ;
flags gcc.archive AROPTIONS <archiveflags> ;
rule archive ( targets * : sources * : properties * )
     # Always remove archive and start again. Here's rationale from
     # Originally removing the archive was done by splicing an RM
     # onto the archive action. That makes archives fail to build on NT
     # of the archive.
# The 'r' letter means to add files to the archive with replacement
# Since we remove archive, we don't care about replacement, but
# The 'c' letter means suppresses warning in case the archive
actions piecemeal archive

>------- cut here -------

suggests piecemeal is a modifier and can occur before the action name (
which in the above output is archive) in an action definition.


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