(self, env: 'Environment', name: str)
return []
Get dirs from the compiler, either `libraries:` or `programs:`
Get dirs from the compiler, either `libraries:` or `programs:`
Get dirs from the compiler either libraries : or programs :
def get_compiler_dirs(self, env: 'Environment', name: str) -> T.List[str]:
        '''
        Get dirs from the compiler, either `libraries:` or `programs:`
        '''
        stdo = self._get_search_dirs(env)
        for line in stdo.split('\n'):
            if line.startswith(name + ':'):
                return self._split_fetch_real_dirs(line.split('=', 1)[1])
        return []
def get_compiler_dirs ( self , env : 'Environment' , name : str ) -> T . List [ str ] : stdo = self . _get_search_dirs ( env ) for line in stdo . split ( '\n' ) : if line . startswith ( name + ':' ) : return self . _split_fetch_real_dirs ( line . split ( '=' , 1 ) [ 1 ] ) return [ ]