Bug in CheckTargetsForMissingSources
I was just looking through the source and I think I found a bug in CheckTargetsForMissingSources
I am not quite sure what the logic is supposed to be, but the current implementations behaves differently for different configurations, depending on their list order. This is because srcs
is not cleared between loop iterations, but the loop aborts if it is empty in an iteration.
If you have two configurations, it is fine for the second one to not have any sources, but it is an error for the first one. That looks like a bug to me?
Edited by Christian Fersch