|
Boost-Build : |
Subject: Re: [Boost-build] building the final library name...
From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2010-01-19 07:18:47
Thomas Lehmann wrote:
>> Am 19.01.2010 08:50, schrieb Johan Nilsson:
>>> Thomas Lehmann wrote:
>>>
>>>> Why can not somebody - please - use a simple "hello world" example
>>>> demonstrating how to define the jam file to produce the required
>>>> result?
>>>>
>>> Could you post your latest attempt at a working jamroot as an
>>> attachment?
>>>
>> Of course. Here's the hello world example: (attachment)
>> One Jamroot and a helloWorld.cxx file.
>> I'm getting a helloWorld.exe only.
What if you change:
-----------
rule decorate-target-name ( name : type ? : property-set )
{
return [ common.format-name
<base> <property:target-os> <property:address-model>
: $(name) : $(type) : $(property-set) ] ;
}
-----------
- to -
-----------
rule decorate-target-name ( name : type ? : property-set )
{
return [ common.format-name
<base> <toolset> <target-os> <address-model>
: $(name) : $(type) : $(property-set) ] ;
}
------------
I think it should be fine to put the <tag> requirement in the exe target
declaration. However, note my other post concerning the need for explicit
usage of target-os and address-model. I included the "toolset" property just
to make sure that the tagging takes some kind of effect.
Regards / Johan
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