Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2003-01-16 08:16:48


Vladimir Prus <ghost_at_[hidden]> writes:

> Felix, there's one question about QT support.
>
> If I have
>
> exe t7 : main.cpp ;
>
> how to add QT includes when compiling main.cpp? Certainly we don't want QT
> include dir for every exe in our project. I guess we're still back to
>
> qt.exe t7 : main.cpp ;
>
> because "qt.exe" can add relevant includes for "t7" only. What do you think?
> Of course
>
> exe t7 : main.cpp : <qt>on ;
>
> is possible too.

exe t7 : main.cpp : <find-library>qt ;

??

Can't we arrange for qt to have usage-requirements?

> There's more general question. If application uses compile-only Boost
> libraries, how can it get the relevant includes? Maybe, we can use this syntax:
>
> exe t7 : main.cpp : <uses>qt <uses>boost ;
>
> The <uses> properties will be expanded to relevant <includes>
>
> Comments?

It seems to me that these things should be represented as targets so
that we can re-use the usage-requirements mechanism.

-- 
David Abrahams
dave_at_[hidden] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution
 

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