Boost logo

Boost-Build :

Subject: Re: [Boost-build] building the final library name...
From: Thomas Lehmann (t.lehmann_at_[hidden])
Date: 2010-01-19 02:08:44


Why can not somebody - please - use a simple "hello world" example
demonstrating how to define the jam file to produce the required result?

kindly
Thomas

Am 18.01.2010 13:09, schrieb Thomas Lehmann:
> a) no, I'm not getting any errors.
> b) install: dummy.exe
> c) I put the<tag> in a separate line but still there's no change for
> the target name.
> d) the -d+2 issue does not show any line which reveals that that
> the rule dummy-decorate is used.
>
> I'm using it with Visual Studio 2008 C++ compiler.
>
> Thomas
>
>
> Same as not using tags.
>
> Am 15.01.2010 18:36, schrieb Rene Rivera:
>
>> Thomas Lehmann wrote:
>>
>>
>>> Does not work!
>>>
>>>
>> Could you be more specific? Are you getting errors? What names does it
>> install as? What names does it build as? Could you post a log of the
>> build, with the command output (-d+2)? Are the lack of spaces around
>> <toolset> and<tag> a posting problem? Or are they not there when you
>> try it?
>>
>>
>>
>>> Am 14.01.2010 16:30, schrieb Rene Rivera:
>>>
>>>
>>>> Thomas Lehmann wrote:
>>>>
>>>>
>>>>
>>>>> Well, could you please be more precise?
>>>>> I have tried some examples but I do not get the result...
>>>>> Can you give a "hello world" example please?
>>>>>
>>>>>
>>>>>
>>>> Something like this might work:
>>>>
>>>> ===
>>>> import common ;
>>>>
>>>> local HOSTNAME = [ modules.peek : HOSTNAME ] ;
>>>>
>>>> project dummy
>>>> : requirements<include>.
>>>> : build-dir ../Binaries/$(HOSTNAME)/dummy
>>>> ;
>>>>
>>>> rule dummy-decorate ( name : type ? : property-set )
>>>> {
>>>> return [ common.format-name
>>>> <base> <property:target-os> <property:address-model>
>>>> : $(name) : $(type) : $(property-set) ] ;
>>>> }
>>>>
>>>> exe "dummy"
>>>> : [ glob *.cxx ]
>>>> :<toolset>msvc<tag>@dummy-decorate
>>>> ;
>>>>
>>>> exe "dummy"
>>>> : [ glob *.cxx ]
>>>> :<toolset>gcc<tag>@dummy-decorate
>>>> ;
>>>>
>>>> install dist
>>>> : "dummy"
>>>> :<location>../Binaries/$(HOSTNAME)
>>>> ;
>>>> ===
>>>>
>>>> HTH.
>>>>
>>>>
>>
>>
> _______________________________________________
> Unsubscribe& other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
>
>


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