• Chia-I Wu's avatar
    scons: add ParseSourceList method · 582b5d86
    Chia-I Wu authored
    ParseSourceList() can be used to parse a source list file and returns
    the source files defined in it.  It is supposed to be used like this
      # get the list of source files from C_SOURCES in Makefile.sources
      sources = env.ParseSourceList('Makefile.sources', 'C_SOURCES')
    The syntax of a source list file is compatible with GNU Make.  This
    effectively allows SConscript and Makefile to share the source lists.
    Acked-by: Jose Fonseca's avatarJosé Fonseca <jfonseca@vmware.com>
    Acked-by: chadversary's avatarChad Versace <chad@chad-versace.us>
source_list.py 3.46 KB