Exemple #1
0
        Convert(
            this IStripToolSettings settings,
            Bam.Core.StringArray commandLine)
        {
            var module = (settings as Bam.Core.Settings).Module;

            if (settings.Verbose && !module.BuildEnvironment.Platform.Includes(Bam.Core.EPlatform.OSX))
            {
                commandLine.Add("-v");
            }

            if (settings.PreserveTimestamp && !module.BuildEnvironment.Platform.Includes(Bam.Core.EPlatform.OSX))
            {
                commandLine.Add("-p");
            }

            if (settings.StripDebugSymbols)
            {
                commandLine.Add("-S");
            }

            if (settings.StripLocalSymbols)
            {
                commandLine.Add("-x");
            }
        }
 Defaults(
     this IStripToolSettings settings,
     Bam.Core.Module module)
 {
     settings.Verbose           = true;
     settings.PreserveTimestamp = true;
     settings.StripDebugSymbols = true;
     settings.StripLocalSymbols = true;
 }