Boost logo

Boost-Build :

From: DJB (usrlocalinfo_at_[hidden])
Date: 2005-04-27 18:21:23

DJB wrote:
> I'm using <variant>debug and <variant>release to build .exe without
> problems.
> But when I try to do the same with static-lib, it appears that <variant>
> is completely ignored (at least related to debug vs release). It simply
> tries to build both.
> Compiler used is msvc-7.1
> I can post some snippets if others are unable to reproduce this.
> Thanks.

Here is the Jamfile (parent Jamfile excluded to keep things simple).

With 'bjam --v2 debug ...' command, this should not even attempt the
release build with the following Jamfile, correct?

For some reason, it is attempting both the debug and release builds.

project myDialogs
: requirements


static-lib myDialogs
: [ glob *.cpp ] [ glob *.h ] [ glob *.rc ]
: <variant>release

#debug with different filename
static-lib myDialogsd
: [ glob *.cpp ] [ glob *.h ] [ glob *.rc ]
: <variant>debug



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at