The lmake.sources module
manifest_sources(manifest='Manifest')
This function returns the list of sources found in the manifest file, one per line.
Comments are supported as everything following a # itself at start of line or preceded by a space.
Leading and trailing white spaces are stripped after comment removal.
git_sources( recurse=True , ignore_missing_submodules=False )
This function lists files under git control, recursing to sub-modules if recurse is true and ignore missing such sub-modules if ignore_missing_submodules is true.
The git repo can be an enclosing dir of the open-lmake repo.
In that case, sources are adequately set to track git updates.
auto_sources(**kwds)
This function tries to find sources by calling manifest_sources and git_sources in turn, untill one succeeds.
Arguments are passed as pertinent.
In absence of source declaration, this function is called with no argument to determine the sources.