|
Boost-Build : |
From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2007-05-30 02:50:14
Renaud Lepere wrote:
[snip]
>
> and in utils/alma.jam
>
> import feature ;
> import type ;
> import virtual-target ;
>
> rule alma-install ( install-name : project-name )
> {
> install $(install-name)-exe : $(project-name)
> : <location>./build/bin
> : <install-type>EXE ;
> install $(install-name)-bin : $(project-name)
> : <location>./build/bin
> : <install-type>SHARED_LIB ;
> install $(install-name)-lib : $(project-name)
> : <location>./build/lib
> : <install-type>IMPORT_LIB ;
> alias $(install-name) :
> $(install-name)-exe
> $(install-name)-bin
> $(install-name)-lib ;
> explicit $(install-name)
> $(install-name)-exe
> $(install-name)-bin
> $(install-name)-lib ;
This is pretty much a wild guess, but could you try adding "import project
;" to the top of alma.jam and replace the last statement above with:
local p = [ project.current ] ;
$(p).mark-target-as-explicit $(install-name) ;
> }
/ 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