Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-10-30 11:17:56


brock_peabody wrote:

> It works except that it still tries to process the project to a
> certain extent. For instance:
>
> exe a : a.cpp : <toolset>msvc ;
>
> If you are building with gcc bjam will still error out if a.cpp does
> not exist.

I can't reproduce this problem. If I put:

exe a : a.cpp : <toolset>msvc ;
exe a : b.cpp ;

into Jamfile, "a.cpp" is not looked for. If you want avoid building a binary
except on msvc, you can use:

exe a : a.cpp : <toolset>msvc ;
alias a ;

Without the second alternative, a.cpp will be compiled even when toolset is
not msvc.

- 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