parameters: (rootSrcDir,allIncPaths)
return_statement: return allHeadersPartContent
docstring: Sort, clean, no duplicates
     cat $cppflags.tmp | sort | uniq | grep -v $srcdir | grep -v `pwd` > $cppflags
     We must resolve softlinks.
     returns a string
docstring_summary: Sort, clean, no duplicates
     cat $cppflags.tmp | sort | uniq | grep -v $srcdir | grep -v `pwd` > $cppflags
     We must resolve softlinks.
     returns a string
docstring_tokens: Sort clean no duplicates cat $cppflags . tmp | sort | uniq | grep - v $srcdir | grep - v pwd > $cppflags We must resolve softlinks . returns a string
function: def getCppFlags(rootSrcDir,allIncPaths):
     """
     Sort, clean, no duplicates
     cat $cppflags.tmp | sort | uniq | grep -v $srcdir | grep -v `pwd` > $cppflags
     We must resolve softlinks.
     returns a string
     """
     allHeadersPartContent = ""
     filteredIncPaths = sorted(list(set(resolveSoftLinks(allIncPaths))))
     for name in resolveSoftLinks((rootSrcDir,os.getcwd())):
        filteredIncPaths = filter (lambda incPath: not name in incPath,filteredIncPaths)
     for incPath in filteredIncPaths:
        allHeadersPartContent += "-I%s\n" %incPath
     return allHeadersPartContent
function_tokens: def getCppFlags ( rootSrcDir , allIncPaths ) : allHeadersPartContent = "" filteredIncPaths = sorted ( list ( set ( resolveSoftLinks ( allIncPaths ) ) ) ) for name in resolveSoftLinks ( ( rootSrcDir , os . getcwd ( ) ) ) : filteredIncPaths = filter ( lambda incPath : not name in incPath , filteredIncPaths ) for incPath in filteredIncPaths : allHeadersPartContent += "-I%s\n" % incPath return allHeadersPartContent