Boost logo

Boost-Build :

Subject: Re: [Boost-build] install last build executable
From: George Georgiev (george.georgiev.sf_at_[hidden])
Date: 2012-04-27 11:12:03


Hi Chris,

Yes, I sure can :). But I am looking for solution, not for workaround.

Thanks,
George

On Fri, Apr 27, 2012 at 5:08 AM, Nogradi, Chris
<Chris.Nogradi_at_[hidden]> wrote:
> I am not sure if what you are asking is possible since you are asking for the two final targets to be the same which is nonsensical.  I will have to defer to the experts.  Can't you just do two commands:
>
> bjam debug
> bjam release
>
> Chris
>
> -----Original Message-----
> From: boost-build-bounces_at_[hidden] [mailto:boost-build-bounces_at_[hidden]] On Behalf Of George Georgiev
> Sent: Thursday, April 26, 2012 5:43 PM
> To: Boost.Build developer's and user's list
> Subject: Re: [Boost-build] install last build executable
>
> Hi Chris,
>
> I do not want to rename it. I want the last build application
> executable to be in this exact location, so when the java build
> process is executed it to pick it from there. In dev environment
> whatever developers is building right now needs to go to the same
> location. I need this to ensure that all the tests or debug that I
> will do with the second layer will be acting over last build from the
> first layer.
>
> What I need is in case I have more than one build configuration to
> skip all but one so I to avoid the collision.
>
> Thanks,
> George
>
>
> On Thu, Apr 26, 2012 at 2:19 PM, Nogradi, Chris
> <Chris.Nogradi_at_[hidden]> wrote:
>> You could install the debug version to another dir or rename the debug version to another name.
>>
>> Use the tag rule on the application target to do the rename:
>>
>> <tag>@rename
>>
>> rule rename ( name : type ? : property-set )
>> {
>>    switch [ $(property-set).get <variant> ]
>>    {
>>        case debug : name = $(name)_dbg ;
>>    }
>>    return [ virtual-target.add-prefix-and-suffix $(name) : $(type) : $(property-set) ] ;
>> }
>>
>> -----Original Message-----
>> From: boost-build-bounces_at_[hidden] [mailto:boost-build-bounces_at_[hidden]] On Behalf Of George Georgiev
>> Sent: Thursday, April 26, 2012 4:03 PM
>> To: boost-build_at_[hidden]
>> Subject: [Boost-build] install last build executable
>>
>> Hi,
>>
>> I have two layer application. The second one is java and it forks the
>> first one. The java build process expects the executable to in a
>> particular location.
>>
>> I use to do that
>>
>> install dev_output : application
>>  :
>>    <location>dev_output
>>  ;
>>
>> Unfortunately when I build more than one application at the same time
>> say debug and release jam complains for "Duplicate name of actual
>> target". Which is obviously correct, but what I need is just whatever
>> of the binaries to take precedence I do not care which one if they
>> both are going to be the latest version.
>>
>> Ideas how I can do this?
>>
>> Thanks,
>> George
>> _______________________________________________
>> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
>>
>>
>> This e-mail and any attachments may contain confidential material for the sole use of the intended recipient. If you are not the intended recipient, please be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please contact the sender and delete all copies.
>>
>> Thank you for your cooperation.
>>
>> _______________________________________________
>> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
>
>
> _______________________________________________
> 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