Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-10-25 02:48:54


On Sunday 24 October 2004 07:56, Motonari Ito wrote:
> Hello,
>
> I have a following Jamfile and get an error.
>
> The purpose of the Jamfile is compiling a different source file based on
> compilers with multithreading enabled.

> project : requirements <threading>multi ;
> exe test : msvc.cpp : <toolset>msvc ;
> exe test : gcc.cpp : <toolset>gcc ;

You've just hit a known bug:

http://localhost:7814/scarab/issues/id/BB78

> Is there anyway to make it work?

Unless you're willing to wait an unknown period of time for me to fix this,
you can try this:

project : requirements <threading>multi ;

alias platform-sources : msvc.cpp : <toolset>msvc ;
alias platform-sources : gcc.cpp : <toolset>gcc ;
explicit platform-sources ;
exe test : platform-sources ;

which works for me. Your opinion on the more explicit alternative syntax
(proposed in the above URL), is also appreciated.

- Volodya

 


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