|
Boost-Build : |
From: Reece Dunn (msclrhd_at_[hidden])
Date: 2005-11-16 02:53:02
Alexey Pakhunov wrote:
> Hi All,
>
> I have the following jam file:
>
> ------
> lib core
> :
> ...
> :
> <link>shared
> <def-file>core.def
> ;
>
> install dist
> :
> core
> :
> <location>bin
> <install-type>SHARED_LIB
> <install-dependencies>on
> ;
> ------
The following:
-----
exe hello
:
hello.cpp
:
<def-file>hello.def
;
install dist
:
hello
:
<install-type>EXE
<install-dependencies>on
;
-----
Also picks up hello.def. The def file is pulled in because of:
rule link.dll ( targets + : sources * : properties * )
{
DEPENDS $(<) : [ on $(<) return $(DEF_FILE) ] ;
}
we somehow need to associate the def-file with a DEF_FILE type so that
it isn't given the EXE or SHARED_LIB type. However, I don't know how to
do this.
- Reece
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