Convert( this ICommonWinResourceCompilerSettings settings, Bam.Core.StringArray commandLine) { if (settings.NoLogo.HasValue && settings.NoLogo.Value) { commandLine.Add("-NOLOGO"); } }
Convert( this ICommonWinResourceCompilerSettings settings, Bam.Core.Module module, VSSolutionBuilder.VSSettingsGroup vsSettingsGroup, string condition) { if (settings.NoLogo.HasValue) { vsSettingsGroup.AddSetting("SuppressStartupBanner", settings.NoLogo.Value, condition); } }
Convert( this ICommonWinResourceCompilerSettings settings, Bam.Core.StringArray commandLine) { if (settings.UseTempFile.HasValue) { if (settings.UseTempFile.Value) { commandLine.Add("--use-temp-file"); } else { commandLine.Add("--no-use-temp-file"); } } }
Convert( this ICommonWinResourceCompilerSettings settings, Bam.Core.StringArray commandLine) { if (settings.UseTempFile.HasValue) { if (settings.UseTempFile.Value) { commandLine.Add("--use-temp-file"); } else { commandLine.Add("--no-use-temp-file"); } } var resource = (settings as Bam.Core.Settings).Module as C.WinResource; commandLine.Add(System.String.Format("-o {0}", resource.GeneratedPaths[C.ObjectFile.Key].ParseAndQuoteIfNecessary())); }
Defaults( this ICommonWinResourceCompilerSettings settings, Bam.Core.Module module) { settings.NoLogo = true; }
Defaults( this ICommonWinResourceCompilerSettings settings, Bam.Core.Module module) { settings.UseTempFile = true; // avoiding a popen error, see https://amindlost.wordpress.com/2012/06/09/mingw-windres-exe-cant-popen-error/ }