From: Jurko GospodnetiÄ (jurko.gospodnetic_at_[hidden])
Date: 2008-09-01 11:43:11
> The second problem is that I want to have certain libraries that are
> part of the project to be considered dependencies (and therefore
> built) only on certain platforms. I'm using <toolset> like this:
> alias source_list : platform_a_sourcelist : <toolset>msvc ;
One more thing. You might want to consider using the <host-os> and
<target-os> properties for this instead of the toolset property. Some
toolsets, like gcc, usually work on multiple platforms so might not be a
good filter for deciding whether to include some platform dependent sources.
Hope this helps.
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