Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-01-16 05:15:54

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.

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>


- Volodya


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at