build: add functionality to sourcelist
build: add functionality to sourcelist

It is now easier to create source groups in code, rather than having to
create them by reading in a list of sources from a file.  Multiple
groups with the same path are no longer considered an error.

depp/sglib,depp/sglib