Boost logo

Boost-Build :

Subject: [Boost-build] dll depends on executable with several exported symbols
From: Anatoly Shirokov (shirokov_a_at_[hidden])
Date: 2009-05-04 07:55:15


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 will be appreciate for any suggestions.

Thanks in advance.


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