|
Boost-Build : |
From: Hassan Mehmet (hassan_mehmet_at_[hidden])
Date: 2007-05-07 05:54:23
Hi
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 ?
Regards
Hassan
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