From: Andreas Huber (ahd6974-spamgroupstrap_at_[hidden])
Date: 2004-11-09 07:06:18
Vladimir Prus <ghost <at> cs.msu.su> writes:
> > 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
This is soooo cool! I guess I will switch to v2 then :-).
> 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.
My previous remark on this was wrong. This has nothing to do with Windows (e.g.
MinGW does not create PDBs) but more with MSVC. Whenever you specify either /Zi
or /ZI on the MSVC command line then a pdb is made. If you specify /Zd or /Z7
or none of these 4 switches then no .pdb is made. Presumably the same is true
for Intel on Windows.
BTW, the above applies regardless of whether you build and exe, a static lib or
a shared lib.
Thanks a lot & Regards,
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