From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-04-11 09:52:11
On Monday 11 April 2005 18:14, Jan Rehders wrote:
> thanks for the link. Unfortunately it works the wrong way. The tough
> part for me is not to generate the files but to extract the targets,
> files and options from a Jamfile. (MPC looks incredible usefuel for the
> generation part, though). In my eyes parsing the Jamfile is not an
> option because it would require to emulate most of bjam's
> functionality. Thus I try to create a toolset in the hope that the exe
> target will get all relevant options (including project wide options
> etc) by the build system.
If you want to just take all command lines that Boost.Build generates and
generate project file from them, then toolset looks a sensible approach.
But... why don't you just run
bjam -n -a msvc
and postprocess the result? It has all the commands and targets and flags.
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build V2: http://boost.org/boost-build2
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