Boost logo

Boost-Build :

Subject: [Boost-build] Ignore a source object
From: Meindert Oldenburger (meindert66_at_[hidden])
Date: 2011-05-26 03:20:51


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

error: Duplicate name of actual target:
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 ?


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at