Boost logo

Boost-Build :

From: muchacho_30 (aachkar_at_[hidden])
Date: 2004-10-07 14:52:00


Hello,

Is there a way in Boost-Build v2 to "ADD" object-specific flags,
similar to the Classic Jam statement:

ObjectCcFlags x24_vars.c : -g ;

and is there a way to "SET" object-specific flags, similar to:

CCFLAGS on x24_vars.o = -g ;

I was able to do it on a per project basis, like this:

[---------------------------------------------
project
: requirements <toolset>icc
<include>c:/icc/include
<include>../sio
<include>../sio/hc12_e128
<include>../../hc12_e128

<cflags>-g
;

lib x24 : x24_vars.c
x24_init.c
x24_execute.c

: <link>static
;
---------------------------------------------]

However, I only want the -g flag on x24_vars.c

Thanks!
Alain.

 


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