|
Boost-Build : |
Subject: Re: [Boost-build] Alternatives and additional requirements
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-10-16 10:41:02
AMDG
J. van der Wulp wrote:
> I have a small problem with requirements that should be used for
> selecting alternatives and additional requirements. Consider a Jamfile
> with the following contents:
>
> lib opengl : : <name>GL <link>shared ;
> lib opengl : : <name>opengl32 <target-os>windows ;
> alias opengl : : <target-os>darwin : : <framework>OpenGL ;
>
> exe a : a.cpp opengl ;
>
> explicit opengl ;
>
> When invoked (on Linux) Boost Build v2 (version from trunk) presents the
> following output.
>
Maybe you could split the requirements into two steps.
lib opengl-default : : <name>GL <link>shared ;
alias opengl : opengl-default ;
lib opengl : : <name>opengl32 <target-os>windows ;
alias opengl : : <target-os>darwin : : <framework>OpenGL ;
In Christ,
Steven Watanabe
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