|
Boost-Build : |
From: Patrick Frants (gclbb-jamboost_at_[hidden])
Date: 2002-09-05 11:19:00
Rene Rivera <grafik666_at_[hidden]> wrote in
news:20020905110505-r01010800-273d375a-0860-0108_at_12.100.89.43:
> [2002-09-05] Patrick Frants wrote:
>>I think the real problem is that on my system with boost 1.28 (As
>>supplied on the website), The instantiation of the template in SubDir
>>does not inherit *any* of the settings from the template in the project
>>root! If we could fix that problem first, then maybe I automatically
>>get the -I .../IncludeDir automatically.
>
> Doh... it only hits me now what the problem is...
>
> You have:
>
> subproject SubDir ;
>
> exe server : <template>q_exe_console main.cpp
> :
> : debug
> <runtime-link>static
> ;
>
> But the template reference has to be a relative reference because it is
> a target. So this should work instead...
Ok, it works but maybe it should be made explicit in the documentation.
Maybe it is in there somewhere, but in that case it is in typical unix-
style (not user friendly): It is in there, but you need to read it 1000
times to finally notice it.
Maybe the example could be turned into an example with a subdirectory? I
really think that is the way most users would use templates.
Patrick.
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