|
Boost-Build : |
From: TEMPLIE Cédric (cedric.templie_at_[hidden])
Date: 2005-01-03 06:02:46
Hi, I have another question :
I want to build 2 exe with same sources, the only difference is a DEFINE
tag, I do the following, but there is an error...
# Build the project from source files
exe SendBug
: $(cppFiles:BS) $(headerFiles:BS) $(rcFiles:BS) $(uiFiles:BS)
$(QTFiles_win)
: <toolset>msvc
<library>/qt//qt
<define>INTERNAL_BUILD
;
# Build the project from source files (public version)
exe SendBug_public
: $(cppFiles:BS) $(headerFiles:BS) $(rcFiles:BS) $(uiFiles:BS)
$(QTFiles_win)
: <toolset>msvc
<library>/qt//qt
<define>PUBLIC_BUILD
;
The following error occured :
error: Duplicate name of actual target:
<pbin\msvc\debug\threading-multi>Base64.obj
error: previous virtual target { msvc%msvc.compile.c++-Base64.OBJ {
Base64.CPP } }
error: created from
error: another virtual target { msvc%msvc.compile.c++-Base64.OBJ {
Base64.CPP } }
error: created from
error: added properties: <define>PUBLIC_BUILD
error: removed properties: <define>INTERNAL_BUILD
I understand why, but I don't need a specific variant to build that,
what can I do ?
Thanks again
TEMPLIE Cédric
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