|
Boost-Build : |
Subject: Re: [Boost-build] Install bitmaps/graphics with install rule
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2010-05-18 00:21:53
On 5/17/2010 10:36 PM, Phillip Seaver wrote:
> On 5/17/2010 4:58 PM, tr1gun wrote:
>> is it possible to install prebuilt libs and bitmaps with the install rule?
>
> Here's a quick example. The name after "install" doesn't affect
> anything as far as I know. It's just a name for the target.
For 'install' targets it's both the name, and the directory it installs
into (and likely creates). Unless overridden by the <location> feature.
> local location = /somewhere
>
> exe foo : foo.c ;
>
> install inst-exe
> : foo
> :<location>$(location)
> ;
> install inst-others
> : foo.bmp
> :<location>$(location)
> ;
You can simplify that to:
install inst : foo foo.bml : <location>$(location) ;
-- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org (msn) - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail
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