From: Felix E. Klee (felix.klee.jamboost_at_[hidden])
Date: 2003-01-16 06:00:40
On Thursday 16 January 2003 11:15 am, Vladimir Prus wrote:
> 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
Please not. I prefer the solutions below.
> 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
> exe t7 : main.cpp : <uses>qt <uses>boost ;
> The <uses> properties will be expanded to relevant <includes>
Interesting. For me, both "<qt>on" and "<uses>qt" are look allright. "<uses>"
might be more flexible, but that requires more thought.
-- To contact me personally don't reply but send email to felix DOT klee AT inka DOT de
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