From: Brian Ravnsgaard Riis (brian_at_[hidden])
Date: 2005-09-18 19:42:22
Daniel Schlyder wrote:
> Hi Brian,
> What about
> lib somelib : : <toolset>gcc <variant>debug <name>somelib-gcc-sd ;
> lib somelib : : <toolset>gcc <variant>release <name>somelib-gcc-s ;
> lib somelib : : <toolset>msvc <variant>debug <name>somelib-msvc-sd ;
> lib somelib : : <toolset>msvc <variant>release <name>somelib-msvc-s ;
> exe someprogram : $(SOURCES).cc somelib ;
I like the look of it: Simple! Unfortunately I just get the second error
message I mentioned in the original post: Unable to build somelib with
properties because no best-match could be found.
Am I doing something wrong? The above syntax seems nicely intuitive. I
believe I tried something along those lines way back before I cooked up
the scheme I have been using. It didn't work, so I thought of the
"double dispatch" thing, which *did* work.
Thanks anyway, Daniel. Other takers?
-- /Brian Riis
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