mesonui/view/conf_activity.py
def _cache_parser(self, meson_args: MesonUiStack) -> None:
        '''
        this method will parse the given cache configuration
        via extract from cache objects internal set value and
        add to local 'meson_args' setup
        '''
        #
        # here we need to always get a fresh copy of
        # the current configuration data from are core
        # cache data so we don’t pass old data.
        core: dict = self._cache.get_core()
        base: dict = self._cache.get_base()
        test: dict = self._cache.get_test()
        path: dict = self._cache.get_path()
        back: dict = self._cache.get_backend()
        #
        # here we add Meson core config values from
        # are cache object.
        #
        # here we also check to see if the option is
        # is eithor a 'werror', 'strip' so
        # we don't get an error.  Else we just pass
        # are option name equale to user set value.
        for conf in core:
            if conf in ['--werror', '--strip', '--fatal-meson-warnings']:
                meson_args.push([f'{conf}'])
            else:
                meson_args.push([f'{conf}={core[conf]}'])
        #
        # here we add Meson base config values from
        # are cache object.
        for conf in base:
            meson_args.push([f'{conf}={base[conf]}'])
        #
        # here we add Meson test config values from
        # are cache object.
        for conf in test:
            meson_args.push([f'{conf}'])
        #
        # here we add Meson directory config values from
        # are cache object.
        for conf in path:
            meson_args.push([f'{conf}={path[conf]}'])
        #
        # here we add Meson backend config values from
        # are cache object.
        for conf in back:
            meson_args.push([f'{conf}={back[conf]}'])
        #
        # here we wipe the current builddir if it exists and start new
        if Path(self._model.buildsystem().meson().builddir).exists():
            meson_args.push(['--wipe'])

        this method will parse the given cache configuration
        via extract from cache objects internal set value and
        add to local 'meson_args' setup
        
this method will parse the given cache configuration
via extract from cache objects internal set value and
add to local 'meson_args' setup
this method will parse the given cache configuration via extract from cache objects internal set value and add to local ' meson_args ' setup
def _cache_parser(self, meson_args: MesonUiStack) -> None:
         here we need to always get a fresh copy of
         the current configuration data from are core
         cache data so we don’t pass old data.
        core: dict = self._cache.get_core()
        base: dict = self._cache.get_base()
        test: dict = self._cache.get_test()
        path: dict = self._cache.get_path()
        back: dict = self._cache.get_backend()
         here we add Meson core config values from
         are cache object.
         here we also check to see if the option is
         is eithor a 'werror', 'strip' so
         we don't get an error.  Else we just pass
         are option name equale to user set value.
        for conf in core:
            if conf in ['--werror', '--strip', '--fatal-meson-warnings']:
                meson_args.push([f'{conf}'])
            else:
                meson_args.push([f'{conf}={core[conf]}'])
         here we add Meson base config values from
         are cache object.
        for conf in base:
            meson_args.push([f'{conf}={base[conf]}'])
         here we add Meson test config values from
         are cache object.
        for conf in test:
            meson_args.push([f'{conf}'])
         here we add Meson directory config values from
         are cache object.
        for conf in path:
            meson_args.push([f'{conf}={path[conf]}'])
         here we add Meson backend config values from
         are cache object.
        for conf in back:
            meson_args.push([f'{conf}={back[conf]}'])
         here we wipe the current builddir if it exists and start new
        if Path(self._model.buildsystem().meson().builddir).exists():
            meson_args.push(['--wipe'])
def _cache_parser ( self , meson_args : MesonUiStack ) -> None : core : dict = self . _cache . get_core ( ) base : dict = self . _cache . get_base ( ) test : dict = self . _cache . get_test ( ) path : dict = self . _cache . get_path ( ) back : dict = self . _cache . get_backend ( ) for conf in core : if conf in [ '--werror' , '--strip' , '--fatal-meson-warnings' ] : meson_args . push ( [ f'{conf}' ] ) else : meson_args . push ( [ f'{conf}={core[conf]}' ] ) for conf in base : meson_args . push ( [ f'{conf}={base[conf]}' ] ) for conf in test : meson_args . push ( [ f'{conf}' ] ) for conf in path : meson_args . push ( [ f'{conf}={path[conf]}' ] ) for conf in back : meson_args . push ( [ f'{conf}={back[conf]}' ] ) if Path ( self . _model . buildsystem ( ) . meson ( ) . builddir ) . exists ( ) : meson_args . push ( [ '--wipe' ] )
this method will parse the given cache configuration
via extract from cache objects internal set value and
add to local 'meson_args' setup
this method will parse the given cache configuration via extract from cache objects internal set value and add to local ' meson_args ' setup
'''
        this method will parse the given cache configuration
        via extract from cache objects internal set value and
        add to local 'meson_args' setup
        ''' # # here we need to always get a fresh copy of # the current configuration data from are core # cache data so we don’t pass old data. # # here we add Meson core config values from # are cache object. # # here we also check to see if the option is # is eithor a 'werror', 'strip' so # we don't get an error.  Else we just pass # are option name equale to user set value. # # here we add Meson base config values from # are cache object. # # here we add Meson test config values from # are cache object. # # here we add Meson directory config values from # are cache object. # # here we add Meson backend config values from # are cache object. # # here we wipe the current builddir if it exists and start new
self
meson_args
MesonUiStack