|
Boost-Build : |
Subject: [Boost-build] Ignore a source object
From: Meindert Oldenburger (meindert66_at_[hidden])
Date: 2011-05-26 03:20:51
Hello,
In a project i added version.c as source for each target in this project.
But a problem raised when i made this construction:
obj wfd_iht.o : wfd.c : <define>IHT ;
exe iht
:
wfd_iht.o
httpserv.c
:
<include>.
;
error: Duplicate name of actual target:
<p../../build/appl/wfd/gcc-4.5.3/debug>wfd_iht.o
error: previous virtual target { gcc%gcc.compile.c-wfd_iht.o.OBJ { wfd.c.C }
}
error: created from ./wfd_iht.o
error: another virtual target { gcc%gcc.compile.c-wfd_iht.o.OBJ {
../../build/version.c.C } }
error: created from ./wfd_iht.o
error: added properties: none
error: removed properties: none
I could made an object of version.o and include that as source, but I like
to know if it possible to exclude in this case version.c in the taget
wfd_iht.o ?
Regards,
Meindert
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