Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-11-08 05:06:48


Hi Kirill,

> Anyway, here is what happened. In my root project I have global
> requirement <define>BOOST_DISABLE_WIN32, also I use boost libraries via
> use-project. Apparently requirements are not transferred through
> use-project directive, so I end up linking with boost libraries compiled
> without <define>BOOST_DISABLE_WIN32 and linking them with my code where
> define is present. Recipe for disaster.

Yea, and for hard-to-diagnose disaster, also :-(

> Now the question is, what is a correct way to use project, in such way
> that it will pick up requirements of my project? I can probably use
> build-project, but this will build all boost libraries even though I am
> using just a couple of them. I can edit boost/config/user.hpp, but it
> would be nice to be able to express this using build system.

You can probably define BOOST_USER_CONFIG to avoid editing files in boost
tree, but this is still solution outside of build system. I'll think what can
be done about it...

- Volodya

>
> --Kirill
>
> PS: I attached test case, just in case if someone wants to take a look...
>
>
> To unsubscribe from this group, send an email to:
> jamboost-unsubscribe_at_[hidden]
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

 


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