Just a question as to whether or not this is a bug or intentional behaviour:
If I define something as both an 'alias' and a 'target'
if (some condition):
env.Alias('all', program)
....
env.Depends('all', otherprogram)
env.Command('all', someotherprogram, Touch('$TARGET'))
there's no warning at all, but the result is somewhat confusing, as the command
will get executed or not depending on the value of 'some condition' (that line
happens to be in a SConscript file, not in the main SConstruct and it took a
while to find it)
Is it possible to detect you are trying to mix an alias with a not-alias, and
stop processing?
_______________________________________________
Scons-dev mailing list
[email protected]
http://two.pairlist.net/mailman/listinfo/scons-dev