$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-build] Question about using condition in bjam
From: Carfield Yim (carfield_at_[hidden])
Date: 2009-08-24 11:56:08
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 ;
}
But it complaint about
../../../Jamroot:33: syntax error at keyword :
However from manual it look like it is suggesting syntax like that.
Would someone help to clarify?