Boost logo

Boost-Build :

From: Motonari Ito (motonari_at_[hidden])
Date: 2004-10-11 12:53:04


>Just curious, what are the paths to debug and release output in your legacy
>system? In what way "build-dir some-path" does not work?

Output/Obj/[Mode]/[ProductVariation]/[Module]/[executable]

For example,

Output/Obj/DEBUG /Product1/app /*.obj
/plugin1/*.obj
/RELEASE/Product1/app /*.obj
/plugin1/*.obj
/Product2/app /*.obj

The purpose of the structure is for perfect cleaning so I can initialize
all debug builds by executing "rm -r Output/Obj/Debug" without any doubt.

The "build-dir some-path" doesn't work because I cannot specify the
output path structure as described above. (Correct?)

Since it's just for cleaning matter, it's OK to put directory structure
under the leaf such as:

project : build-dir Output/Obj/[mode]/Product1/app ;

--> Output/Obj/DEBUG/Product1/app/bin/msvc-8.0/debug/
--> Output/Obj/RELEASE/Product1/app/bin/msvc-8.0/release/

But build-dir still has to be changed based on 'mode'.

>Maybe, you can use the 'stage' rule to move the generated files to the
>directory you like?

I think it works. I will try.

Thank you.

 


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