|
Boost-Build : |
Subject: Re: [Boost-build] Generating multiple CPP/H targets from a singlesource
From: Juraj IvanÄiÄ (juraj.ivancic_at_[hidden])
Date: 2010-08-17 05:46:07
On 17.8.2010 10:56, Fabien Chêne wrote:
>> You could try "bjam --abbreviate-paths" to see if it helps
>
> Yes, it solves my problem for now. Any magic to make it the default option ?
You can add this to the user-config.jam:
modules.poke : ARGV : [ modules.peek : ARGV ] --abbreviate-paths ;
>> (IIRC Volodya has
>> also previously mentioned "bjam --md5", but haven't tried that
>> myself).
>
> I don't know what it does, but I get the same error than above:
> actions too long ...
--md5 (i.e. --hash) makes boost build create intermediate dirs with name
of constant size (32). For example, you get something like
bin\2ffa9142d260c9eeb431ecbd2fbd244c\
instead of
bin\runtime-link-static\threading-multi\...\
So it should help if your intermediate paths are expected to be longer
than 32 characters.
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