|
Boost-Build : |
From: Patrick Frants (gclbb-jamboost_at_[hidden])
Date: 2002-09-02 06:29:06
Rene Rivera <grafik666_at_[hidden]> wrote in
news:20020827110809-r01010800-ada791e9-0860-0108_at_12.100.89.43:
>>My goal was to factor out our standard includes in templates. My first
>>option was to declare these includes paths relative to the c:/project.
>>I did not succeed at that so I resorted to paths relative to the
>>executable directories, which are always directly under c:/project.
>
> I might need a more concrete example to answer this one definately. But
> maybe it's the SUBDIR evaluation location. Variables in the template
> are going to get evaluated where the template was declared not where
> it's used.
Ok, I put together and attached a simple example. Notice that the include
directory $(SUBDIR)/IncludeDir does not show up on the commandline when
running bjam -d2.
Patrick
-- Patrick Frants Senior Software Engineer Quintiq Goudsbloemvallei 12-28 P.O.Box 264 5201 AG 's-Hertogenbosch The Netherlands Tel: +31 (0)73 691 07 39 Fax: +31 (0)73 691 07 54 begin 644 example.zip M4$L#!!0``@`(`/6+&BTF^:8R:0```-P````<````0F]O<W1%>&%M<&QE+V)O M;W-T+6)U:6QD+FIA;5-6<,O,2U$HR4A52,K/+RY12"K-S$E1**XL+DG-5<C, M`\LX6\6`)>,-XXTLX_at_UB2O+S<XICP"IC\E++%5(RBU*32_*+*O5XN<`*=2&F MZ.GI(^O3!^O3A\A9\W(I$ZE6'V0'NGIG*X+J`5!+`P0*```````[:2(M```` M````````````&````$)O;W-T17AA;7!L92]);F-L=61E1&ER+U!+`P04``(` M"`!<:R(M;>L9&DT!``!K`@``%````$)O;W-T17AA;7!L92]*86UF:6QE;5%- M3\,P##VO4O]#-'$`I*H27&"K<M@':-+8$-7&L4I;;S.T24F<:?Q[4M9NY>/E M8OD].[9?I=4;9!1HI8_at_-?<_W",JJ$`3L(TE1"OW)!LSW>@[,15%I]AF/KGF4 MPP8E\-?9XO:FY1ESZ=1N3VPRF8Y6C[_IP)#2P'-!(A4&.C3M-(@<Y9:7MB#L MG=$1P2&#BE#)8"=D7M1J)3N\)L*?&3>NMI*PA,#)W[DA09CYGN-.FM-B!:;: MK1U4_at_G:\/QZ$SUIMM2C9`Q9_at_PB?,M#)J0VR-QHJ"Q61S5.%Z?'\7SC'M?__+ M&D3N#'G0M.0BWXL*ZWNQ?Q"AS`J;`[^XC%>CR>SE:G9,3%#7SC0>M,%OM^`` M2::D40741K4,;WT\UM63.=8:T`%*`KT1&?"FKI'T_MJ<C)>+>#F?=IJ<PV$; M^IZQ:;,%BVWJ!C^.6;\O4$L#!`H``````,=K(BT````````````````4```` M0F]O<W1%>&%M<&QE+U-U8D1I<B]02P,$%``"``@`$FDB+?,,*0)M````A``` M`!L```!";V]S=$5X86UP;&4O4W5B1&ER+TIA;69I;&4UC<L-PC`0!<^QY!ZV M`2@`HISH@`(BVSRA!?]8KQ'EXT1PF]$;Z;7NJY0'@M*U^PL+G:VQ!A]0@[PA M=*)9D6ITBN6UCF$-);<20<EQ/H9:K9DFHA'^8-`-OM\W'3Y+S\H)A\CYN31U MRN%?[F=?4$L#!!0``@`(`/=H(BVV5-Q>6````%X````<````0F]O<W1%>&%M M<&QE+U-U8D1I<B]M86EN+F-P<!7+,0J`,`Q`T=E`[A!P47%P5[Q+J$$#-DK: MNHAW5[?_AE^KA;TL0I,>*;MPG!%*4EO).$HZ.0BEO(P("&J9(JLU?["OH:>P ML7?=CZM%N!$JEUS<:/B.YP502P,$"@``````7&LB+0````````````````T` M``!";V]S=$5X86UP;&4O4$L!`A0`%``"``@`]8L:+2;YIC)I````W````!P` M`````````0`@`+:!`````$)O;W-T17AA;7!L92]B;V]S="UB=6EL9"YJ86U0 M2P$"%``*```````[:2(M````````````````&````````````!``_T&C```` M0F]O<W1%>&%M<&QE+TEN8VQU9&5$:7(O4$L!`A0`%``"``@`7&LB+6WK&1I- M`0``:P(``!0``````````0`@`+:!V0```$)O;W-T17AA;7!L92]*86UF:6QE M4$L!`A0`"@``````QVLB+0```````````````!0````````````0`/]!6`(` M`$)O;W-T17AA;7!L92]3=6)$:7(O4$L!`A0`%``"``@`$FDB+?,,*0)M```` MA````!L``````````0`@`+:!B@(``$)O;W-T17AA;7!L92]3=6)$:7(O2F%M M9FEL95!+`0(4`!0``@`(`/=H(BVV5-Q>6````%X````<``````````$`(`"V M_at_3`#``!";V]S=$5X86UP;&4O4W5B1&ER+VUA:6XN8W!P4$L!`A0`"@`````` M7&LB+0````````````````T````````````0`/]!P@,``$)O;W-T17AA;7!L 892]02P4&``````<`!P#B`0``[0,````` ` end
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