From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2005-02-07 04:43:52


When libraries and executables are compiled, we would like to make the
difference between the variants (debug and release) in order to store
them in the same directory.

So how can we add a postfix to the result of a compilation (binary or
library) or staged target according to its variant?
For example, is there an instruction to add the postfix '_d' to the
output library when it is compiled in debug mode like in

stage bin : my_app : <variant>debug:<name>my_app_d ;

toon