|
Boost-Build : |
Subject: Re: [Boost-build] dll depends on executable with several exported symbols
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-05-05 01:25:03
On Monday 04 May 2009 15:46:18 Anatoly Shirokov wrote:
>
> I have the following situation:
> - executable exports several functions
> - dll uses the exported functions, so the dll depens on the executable
>
> Jamroot:
> use-project /app : app ;
> use-project /dll : dll ;
>
> app/Jamfile:
> project : : ;
> exe app : ... ;
>
> dll/Jamfile:
> project : : ;
> lib dll : /app//app ;
>
> I use the following version of the boost build:
> >bjam --version
> Boost.Build V2 (Milestone 12)
> Boost.Jam 03.1.17
>
> The problem is that the boost build does not put import library produced by
> the exe rule to the dll.dll.rsp file. As a result linking fails.
I do not think your use case is presently supported -- I don't even know
how one can create import library for an EXE. Can you clarify?
- Volodya
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