Boost logo

Boost-Build :

From: Jurko Gospodnetić (jurko.gospodnetic_at_[hidden])
Date: 2008-06-03 17:31:42


   Hi Paul.

> Hi all,
>
> I would like to have a flat directory structure:
>
> .../build/*.*
>
> as opposed to
>
> .../build/debug/threading-multi/*.*

   I do not believe this is the wanted behaviour for Boost Build based
builds so I do not think there is an easy way to achieve this. The only
thing that pops to mind is hacking Boost Build's functionality for
constructing the target folder name, but I really do not see the point.

   If you do not separate different build variants... you forfeit most
Boost Build features... E.g. no multiple-variant builds (debug/release)
and you have to clean the build results before building a different variant.

   Having different variants split over multiple folders should not
present problems... you should rarely if ever need to manually locate
intermediate results stored there. Use the install rule to move final
products into specific external folders.

   Hope this helps.

   Best regards,
     Jurko Gospodnetić


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