|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-11-09 01:57:46
On Tuesday 09 November 2004 02:51, Andreas Huber wrote:
> (see attached Jamfile)
>
> On Windows, a debug build of an executable not only consists of the .exe
> file itself but also of the .pdb file. stage does not copy that .pdb
> file. Is there any way to make it do so, preferably
> platform-independent?
> Moreover, it seems that stage doesn't copy the dependencies of a target,
> that's why I had to add <dll>../../thread/build/boost_thread to the
> return value of fsm-mt-example-build. Is there any way to do that more
> cleanly, i.e. somehow instruct stage to collect and copy everything an
> exe will need to run?
Only in V2:
stage dist : my_exe : <traverse-dependecies>yes
<include-type>EXE <include-type>LIB ;
as documented at
http://boost.org/boost-build2/doc/html/bbv2/advanced/builtins/targets.html#bbv2.builtins.stage
Regarding .pdb: I'm not sure. Is the file created unconditionally? If so, a
small tweak to V2 will make it install that file. If not, I need to know the
conditions when the file is created.
- 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