[Scons-users] Code generation and VariantDir?
Dirk Bächle
tshortik at gmx.de
Mon Apr 28 17:02:04 EDT 2014
On 28.04.2014 22:00, Jason Fritz wrote:
> [...]
> Anyway, by removing the Clone() calls, I got rid of the first warning:
> "scons: warning: Two different environments were specified for target
> src/autogen/foo.h"
>
> However, I'm still getting the second error/warning: "scons: ***
> Multiple ways to build the same target were specified for:
> src/autogen/foo.h (from ['src/autogen/foo.tsn'] and from
> ['src/autogen/foo.tsn'])". It lists the same .tsn file twice. It
> also says the error is coming from the SConscript line that calls my
> custom Builder: "fileList = codegenEnv.TsncCpp(tsnFile)"
>
> Any idea how to get rid of this second error?
>
Please find a very basic, but working, setup attached. Does this help?
Dirk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://four.pairlist.net/pipermail/scons-users/attachments/20140428/09a44e35/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jason_fritz_variant_dir.tgz
Type: application/x-compressed-tar
Size: 506 bytes
Desc: not available
Url : http://four.pairlist.net/pipermail/scons-users/attachments/20140428/09a44e35/attachment.bin
More information about the Scons-users
mailing list