Boost logo

Boost-Build :

From: Pedro Ferreira (pedro.ferreira_at_[hidden])
Date: 2005-05-19 11:20:13


> Ok I think I'm almost there now... I just have one more question. I
> get an error if lwsock32-name is empty during the call:
> lib lwsock32 : : <name>$(lwsock32-name) ;
> "
> *** argument error
> * rule object(linking-generator)@2.run ( project name ? : property-set
> : sources + : multiple ? )
> * called with: ( Jamfile</home/zeta/code/lanthera/src/client> lwsock32
> : object(property-set)@15 : : )
> * missing argument sources
> "
>
> if i set the condtion that I test for LINUX to any value it compiles
> fine, but I'd prefer not to have any value set... like I want lwsock32
> to really just be NULL, does that make sense?

Right... and this is a tricky one: you can't declare a lib that neither has
a <name> nor sources. That's why I initially proposed to use an alias.
Is there a problem for you to use an alias? We do it here all the time and
it works really well.

Pedro

 


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