$RPCGEN, $RPCGENFLAGS, $RPCGENCLIENTFLAGS, $RPCGENHEADERFLAGS,
$RPCGENSERVICEFLAGS, $RPCGENXDRFLAGS.
+ - Provide more info in the error message when a user tries to build
+ a target multiple ways.
+
From Christoph Wiedemann:
- Add an Environment.SetDefault() method that only sets values if
elif isinstance(t.builder, ListBuilder) ^ isinstance(builder, ListBuilder):
raise UserError, "Cannot build same target `%s' as singular and list"%str(t)
elif t.sources != slist:
- raise UserError, "Multiple ways to build the same target were specified for: %s" % str(t)
+ raise UserError, "Multiple ways to build the same target were specified for: %s (from %s and from %s)" % (str(t), map(str,t.sources), map(str,slist))
if builder.single_source:
if len(slist) > 1:
test.run(arguments='file2.out',
status=2,
stderr="""
-scons: *** Multiple ways to build the same target were specified for: file2.out
+scons: *** Multiple ways to build the same target were specified for: file2.out (from ['file2a.in'] and from ['file2b.in'])
File "SConstruct", line 10, in ?
""")