Example #1
0
        public override async Task <bool> InstallAsync(IConsole console, IProject project)
        {
            _settings = project.GetToolchainSettings <CustomGCCToolchainProjectSettings>();

            _staticLibraryExtension = _settings.StaticLibraryExtension;
            _executableExtension    = _settings.ExecutableExtension;

            return(await base.InstallAsync(console, project));
        }
Example #2
0
        public GccProfileFormViewModel(IProject model) : base("Toolchain Profiles", model)
        {
            _settings = model.GetToolchainSettings <CustomGCCToolchainProjectSettings>();

            _profileName         = _settings.InstanceName;
            _prefix              = _settings.Prefix;
            _ccPrefix            = _settings.CCPrefix;
            _ccName              = _settings.CCName;
            _cppPrefix           = _settings.CPPPrefix;
            _cppName             = _settings.CPPName;
            _ldPrefix            = _settings.LDPrefix;
            _ldName              = _settings.LDName;
            _arPrefix            = _settings.ARPrefix;
            _arName              = _settings.ARName;
            _sizePrefix          = _settings.SizePrefix;
            _sizeName            = _settings.SizeName;
            _libraryQueryCommand = _settings.LibraryQueryCommand;
        }