Currently SPM does not allow overlapping sources. This feature somewhat protects against creating multiple targets with duplicated symbols. I argue that:
- Protecting against overlapping sources takes away a lot of flexibility and therefore hinders the adoption of SPM.
- It doesn't really protect anything, since it is still possible to create overlapping sources by using symlinks.
I think it should be possible to turn off this check by adding a flag in the
Package class, or alternatively the whole overlapping sources check should be removed from SPM.