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?


For example,

Output/Obj/DEBUG /Product1/app /*.obj
/RELEASE/Product1/app /*.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, david.abrahams at, gregod at, cpdaniel at, john at