Boost logo

Boost-Build :

From: Hassan Mehmet (hassan_mehmet_at_[hidden])
Date: 2007-05-07 05:54:23


The thread on alternative selection has been interesting because we are coming
up against this very problem. This is the sort of Jamfile we'd like to use

lib a : : <name>a <search>./install/lib/release <variant>release ;
lib a : : <name>a <search>./install/lib/debug <variant>debug ;

exe progA : main.cpp a : : ;

However that fails with "error: No best alternative for ./a"

We've tried various combinations but the only method that has worked so far is
to rename the debug libraries after they have been built.

lib a : : <name>a <search>./install/lib/release <variant>release ;
lib a : : <name>a_d <search>./install/lib/debug <variant>debug ;

exe progA : main.cpp a ;

Is this the only solution ?


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