Convert( this ICommonLinkerSettings settings, Bam.Core.StringArray commandLine) { if (settings.NoLogo) { commandLine.Add("-NOLOGO"); } if (settings.GenerateManifest) { commandLine.Add("-MANIFEST"); } else { commandLine.Add("-MANIFEST:NO"); } // safe exception handlers only required in 32-bit mode if (((settings as Bam.Core.Settings).Module as C.CModule).BitDepth == C.EBit.ThirtyTwo) { if (settings.SafeExceptionHandlers) { commandLine.Add("-SAFESEH"); } else { commandLine.Add("-SAFESEH:NO"); } } }
Convert( this ICommonLinkerSettings settings, Bam.Core.Module module, VSSolutionBuilder.VSSettingsGroup vsSettingsGroup, string condition) { vsSettingsGroup.AddSetting("SuppressStartupBanner", settings.NoLogo, condition); }
Convert( this ICommonLinkerSettings settings, Bam.Core.StringArray commandLine) { if (settings.NoLogo) { commandLine.Add("-NOLOGO"); } }
Convert( this ICommonLinkerSettings settings, Bam.Core.StringArray commandLine) { foreach (var rpath in settings.RPath) { commandLine.Add(System.String.Format("-Wl,-rpath,{0}", rpath.Parse())); } }
Convert( this ICommonLinkerSettings settings, Bam.Core.StringArray commandLine) { foreach (var rpath in settings.RPath.ToEnumerableWithoutDuplicates()) { commandLine.Add(System.String.Format("-Wl,-rpath,{0}", rpath.ToString())); } }
Convert( this ICommonLinkerSettings settings, Bam.Core.Module module, VSSolutionBuilder.VSSettingsGroup vsSettingsGroup, string condition) { vsSettingsGroup.AddSetting("SuppressStartupBanner", settings.NoLogo, condition); var solution = Bam.Core.Graph.Instance.MetaData as VSSolutionBuilder.VSSolution; var project = solution.EnsureProjectExists(module); var config = project.GetConfiguration(module); config.EnableManifest = settings.GenerateManifest; }
Convert( this ICommonLinkerSettings settings, Bam.Core.Module module, XcodeBuilder.Configuration configuration) { if (settings.RPath.Count > 0) { var option = new XcodeBuilder.MultiConfigurationValue(); foreach (var path in settings.RPath) { option.Add(path.Parse()); } configuration["LD_RUNPATH_SEARCH_PATHS"] = option; } }
Convert( this ICommonLinkerSettings settings, Bam.Core.StringArray commandLine) { if (settings.NoLogo) { commandLine.Add("-NOLOGO"); } if (settings.GenerateManifest) { commandLine.Add("-MANIFEST"); } else { commandLine.Add("-MANIFEST:NO"); } }
Convert( this ICommonLinkerSettings settings, Bam.Core.Module module, VSSolutionBuilder.VSSettingsGroup vsSettingsGroup, string condition) { vsSettingsGroup.AddSetting("SuppressStartupBanner", settings.NoLogo, condition); var solution = Bam.Core.Graph.Instance.MetaData as VSSolutionBuilder.VSSolution; var project = solution.EnsureProjectExists(module); var config = project.GetConfiguration(module); config.EnableManifest = settings.GenerateManifest; // safe exception handlers only required in 32-bit mode if (((settings as Bam.Core.Settings).Module as C.CModule).BitDepth == C.EBit.ThirtyTwo) { vsSettingsGroup.AddSetting("ImageHasSafeExceptionHandlers", settings.SafeExceptionHandlers, condition); } }