|
Boost-Build : |
Subject: Re: [Boost-build] Question about using condition in bjam
From: Brian Ravnsgaard Riis (brian_at_[hidden])
Date: 2009-08-24 15:10:16
Carfield Yim wrote:
> I know it is very basic, but I figure it out when reading manual. Say
> my project need to compile on GCC and Sun Studio, and for GCC it only
> work for oracle 9 and for Sun Studio it work for oracle 10. I try to
> have something like:
>
>
>
> if(toolset = "gcc"){
>
> use-project /Oracle : /oracle/9.2.0 ;
>
> }else{
>
> use-project /Oracle : / oracle/10.2.0 ;
>
> }
>
Is the above taken directly from your build? I believe you should not
have a space after the first slash in ": /oracle/10.2.0 ;".
Whether that is the cause of your error, I have no idea. :-) As Volodya
said, though, that error message usually pops up when you messed up your
spaces somehow.
Regards,
Brian
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